Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 881 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 881 Bytes

Django bootstrap project template

Includes

  • Twitter bootstrap 3
  • django-annoying
  • django-compressor

How to use

Create virtual environment, change project_name with your projects name :D

mkvirtualenv project_name

Install django

pip install django

Run django startproject with the --template option

django-admin.py startproject --template=https://github.com/netoxico/django-bootstrap/archive/master.zip project_name

Install requirements, for development

pip install -r requirements/development.txt

Set 'PROJECT_ENV' environment variable.

  • 'development'
  • 'production',
  • 'staging'

If no 'PROJECT_ENV' especified takes 'development' settings as default

For development environment:

sudo sh -c 'echo "export PROJECT_ENV=development" >> /etc/profile.d/environment.sh' && source /etc/profile.d/environment.sh

Done.