afsmith / cc

chinchilla
0 stars 0 forks source link

Chinchilla Frontend

How to run

  1. Clone the repo
  2. Make new virtualenv and activate it
  3. cd cc
  4. pip install -r requirement.txt
  5. cp cc/local_settings.py.sample cc/local_settings.py
  6. Change the settings to match configuration in the local environment
  7. python manage.py syncdb
  8. python manage.py migrate
  9. Start redis server: redis-server &
  10. Start celeryd for converting files: python manage.py celeryd
  11. Start django dev server in a different terminal: python manage.py runserver_plus

Other dependancies

Tips: in OSX use homebrew: brew install redis pdf2json

How to deploy

cd cc/ fab deploy -R staging