Skip to content

Threespot/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the {{ project_name }} project

This project uses Django 1.5.1.

Locations of important files:

  • project_name/ Django project and apps
  • docs/ - project documentation (Sphinx)
  • requirements/ - project dependencies
  • static/ - static media
  • templates/ - project HTML templates

Getting Started

The following will help you get a development environment up and running:

?> virtualenv --distribute {{ project_name }}_env
?> cd {{ project_name }}_env
?> source ../bin/activate
?> git clone git@github.com:Threespot/{{ project_name }}.git
?> cd {{ project_name }}
?> pip install -r requirements/base.txt
?> pip install -r requirements/development.txt
?> ./manage.py syncdb --settings={{ project_name }}.settings.dev
?> ./manage.py runserver --settings={{ project_name }}.settings.dev

You can avoid having to pass the --settings={{ project_name }}.settings.dev argument to management commands by setting the DJANGO_SETTINGS_MODULE environmental variable. Just add the following line to your virtualenv's bin/activate script:

export DJANGO_SETTINGS_MODULE="{{ project_name }}.settings.dev"

Read more about how Threespot does Django.

About

Custom project template for all Threespot Django projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published