Skip to content

ImgBotApp/website-18

 
 

Repository files navigation

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

Also, the python packages being used require the following libraries to be installed:

  • libxml
  • libxslt
  • libsasl2
  • Python Imaging Library (PIL) dependencies, see here for a quick ubuntu instructions.

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.1%
  • HTML 34.9%
  • CSS 7.8%
  • Shell 1.2%