This is the template that auzigog uses for Django project.
Pre-configured to work with:
- PostgreSQL database
- Jinja2 templates
settings_local.py.exampleprovided to separate machine-specific settings from universal settings
To use normally, just clone or download the repo and use the directory structure to get you started.
Here's how I would typically use this template with Djenesis:
# Replace all instaces of PROJECTNAME with your project name pip install djenesis # Install djenesis if you haven't already cd ~/Projects mkdir PROJECTNAME && cd PROJECTNAME djenesis code --virtualenv=env git+https://github.com/auzigog/django-template-auzigog.git cd PROJECTNAME/code source ../env/bin/activate ./manage.py syncdb # You're ready to start coding!
pip install requirements-debug.txt to load packages that are just for local development.
New Project Checklist
After starting a fresh project:
settings_local.pyand add in your database information
- Delete this
README.md, replace with information for your current project
- Create your first app using SAMPLEAPP as a template
- Copy (don't rename) SAMPLE to a new directory for your new app. Example:
cp -R SAMPLEAPP blog
- Add the new application to your
- Specify new app name in
mainsite.urls. Example: change
- Add urls, views, and templates to your new app as necessary
LICENSEif it is not how you want to license your new project
- Follow the Usage instructions in your new
This project is licensed under the Apache License, Version 2.0
Created with love by Jeremy Blanchard
This project originated from csky-django-template