New wave blog + knowledge base engine
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


- Python 2.5+
- distribute
- pip
- virtualenv

Install requirements:
- Python:
- PIL:
  - for Windows:
  - for Ubuntu/Debian: sudo apt-get install python-imaging
- distribute:
- pip:
- virtualenv:

1. Create empty virtual environment:
   virtualenv --no-site-packages --distribute dworkin
   ... and activate it!
2. Activate it before going further!
   - for Windows: dworkin/Scripts/activate.bat
   - for Linux: . dworkin/bin/activate # space between "." and "dworkin" is not a mistake
3. Install all required libs via pip (use ./requirements.txt):
   pip install -r requirements.txt
4. Copy apps static:
   - env/dworkin/.../site-packages/admin_tools/media/admin_tools -> ./site/static/ext/admin_tools
   - env/dworkin/.../site-packages/markitup/media/markitup -> ./site/static/ext/markitup
5. Sync and migrate DB:
   python syncdb # don't create superuser yet! Because UserProfile DB is not created yet (because it's on South)
   python migrate
6. Create superuser:
   python createsuperuser # on Windows it may be broken. In this case you'll have to create superuser manually
7. Run server!
   - dev: python runserver
   - prod: you know how to do it
8. Goto http://%Your_site%/admin/sites/site/ and change '' to %Your_site%