NickKarras / website

The code behind okfn.org

Home Page:https://okfn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

foundation

This is the Django/Django CMS project that runs http://okfn.org.

Build Status Coverage Status

Prerequisites and assumptions

You must have the following installed:

  • Python 2.7
  • libmemcached (brew install libmemcached on Mac OS X using Homebrew)
  • node

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.

Running in development

pip install -r requirements.dev.txt
pip install honcho
npm install
python manage.py migrate
honcho -f Procfile.dev start

Running on Heroku

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 migrate

About

The code behind okfn.org

https://okfn.org

License:MIT License


Languages

Language:Python 60.8%Language:HTML 29.5%Language:CSS 8.4%Language:Shell 1.3%