Overview

Installation
------------

* clone the repository::

  hg clone http://bitbucket.org/daks/django_base_project <project>


* prepare for development (aka CVS/DVCS preparation)
  *hg (with MQ) is used here, use your favourite tool*

  * remove .hg directory
  * uncomment local_settings.py in .hgignore
  * ``$ hg init``
  * ``hg qinit -c``
  * add all files to your repository

    * ``$ hg add .hgignore``
    * ``$ hg add *``
    * ``$ hg forget local_settings.py``


Setup
-----

* edit files

  * project settings file (settings.py)
    
    * especially SECRET_KEY

      * by hand

      or

      * using django-extensions

       (virtualenv)
             * install extensions 

             pip install django-extensions

             * edit local_settings.py to add extensions to installed apps

             * generate key

             python manage.py generate_secret_key

             * copy/paste to file

             * remove app

             pip uninstall django-extensions


 * urls 
 


* (virtualenv) adapt requirements.txt to your needs and install all apps

 pip install -r requirements.txt


Nginx
-----

* adapt the nginx.conf file
* copy it to ``/etc/nginx/sites-available\<django_base_project>.conf``