The clean, fast and right way to start a new Django 1.10.1
powered website.
Setup project environment with virtualenv and pip.
$ virtualenv project-env
$ source project-env/bin/activate
$ pip install -r https://raw.githubusercontent.com/juanifioren/django-project-template/master/requirements.txt
# You may want to change the name `projectname`.
$ django-admin startproject --template https://github.com/juanifioren/django-project-template/archive/master.zip projectname
$ cd projectname/
$ cp settings_custom.py.edit settings_custom.py
$ python manage.py migrate
$ python manage.py runserver
- Basic Django scaffolding (commands, templatetags, statics, media files, etc).
- Split settings in two files.
settings_custom.py
for specific environment settings (localhost, production, etc).projectname/settings.py
for core settings. - Simple logging setup ready for production envs.
I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.