Skip to content

Instantly share code, notes, and snippets.

@Namibnat
Last active July 25, 2016 19:14
Show Gist options
  • Save Namibnat/080a9c0d3ceacafd72494e6f4273f6c5 to your computer and use it in GitHub Desktop.
Save Namibnat/080a9c0d3ceacafd72494e6f4273f6c5 to your computer and use it in GitHub Desktop.
I'm building this simple little website app to use to run a small Django workshop.
This page is just a step by step explination of how I build it:
I'm using django 1.9 and Python 3.5 for this project. I'm using virtualenv, although I guess that you
don't need to (though I'm not sure why one wouldn't).
From here it's basically a step by step:
$ source ~/.virtualenv/habits/bin/activate
(habits) $ django-admin startproject habits
(habits) $ cd habits
(habits) $ ./manage.py startapp hp
Under habits edit urls to pass it to hp
Add hp to the settings file to installed apps and run migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment