Created: 2014-05-19 16:25
Updated: 2014-07-05 13:38

Gromada Initiative

This is just a learning project.


  • Громадська ініціатива

  • Инициатива Громады

  • Портал городских инициатив

  • Портал міських ініціатив

Heroku Deployment

Install foreman

Use Heroku toolbelt

wget -qO- | sh


  • Install python, virtualenv, pip
  • virtualenv env; source env/bin/activate
  • pip install -r requirements.txt

Run using honcho (foreman) locally

export DJANGO_SECRET_KEY=yoursecret
# export DATABASE_URL=sqlite://sqlite3.db
export DJANGO_SETTINGS_MODULE=gromada_initiative.settings.development
python collectstatic --noinput
honcho start

Deploy to heroku

git remote add heroku ...
git push heroku master

Set up environment (one time):

heroku config:set DJANGO_SETTINGS_MODULE=gromada_initiative.settings.heroku
heroku config:set DJANGO_SECRET_KEY=yoursecret

collestatic is run automatically by heroku on push.

DATABASE_URL is set automatically by heroku to the selected database credentials.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more