- Code syntax highlighting (with Pygments)
- RSS support
- Post archive
- Tags
- Search
Using pipenv
pipenv install --dev
Tell Django which settings file to use
export DJANGO_SETTINGS_MODULE=blog.settings.dev
Initialize the database
./manage.py makemigrations posts
./manage.py migrate
./manage.py runserver
./manage.py testserver fixtures/db.json
All Django tests can be ran with the following:
./manage.py test posts --settings=blog.settings.test
You may wish to pass some additional flags:
./manage.py test posts --failfast --settings=blog.settings.test
A coverage report can be generated with the following command:
coverage run manage.py test posts --settings=blog.settings.test && coverage report