This is the Django/Django CMS project that runs http://okfn.org.
You must have the following installed:
- Python 2.7
- libmemcached (
brew install libmemcached
on Mac OS X using Homebrew)
You may also wish to follow any install instructions inside a Python virtual environment. Explaining virtualenv
is outside of the scope of this README, but this tutorial might help.
pip install -r requirements.dev.txt
pip install honcho
npm install -g less
python manage.py syncdb --migrate
honcho -f Procfile.dev start
Please note that the following are by no means full instructions. There are a number of config variables that will also need setting before the application will work. These will be documented in due course.
heroku create
heroku labs:enable user-env-compile
heroku addons:add heroku-postgresql
heroku addons:add mandrill
heroku config DJANGO_DEBUG=false \
DJANGO_COMPRESS_OFFLINE=true \
...
git push heroku master
heroku run python manage.py syncdb --migrate