Source Code of arthurkoziel.com
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
blog
static
templates
.gitignore
README.md
__init__.py
manage.py
robots.txt
settings.py
sitemaps.py
urls.py
views.py

README.md

This is the source code of my blog at arthurkoziel.com.

Requirements

Installation

  1. Clone the repository.
  2. Run python manage.py syncdb to initialize the database. Per default, a SQLite database will be created in the project directory.
  3. Start the development server by executing python manage.py startserver.
  4. Navigate to http://localhost:8000/ in your web browser. The backend can be found at http://localhost:8000/admin/.

Static Media

During development (when the DEBUG setting is set to True) Django's static serve view will be used to serve static media. If you want run the application on a production system you need to:

  1. Create a settings_local.py file in the project directory.
  2. Add the MEDIA_URL setting to it and set it to the location where the static files are hosted.

Comments

To enable comments you need to have a DISQUS account and a website registered with DISQUS. Edit the settings_local.py file and assign the shortname of your website to the DISQUS_WEBSITE_SHORTNAME variable:

DISQUS_WEBSITE_SHORTNAME = 'foobar'