Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

mitmedialab/promise-tracker-builder

Repository files navigation

Promise Tracker Campaign Builder

Rails app for the creation of citizen monitoring campaigns. The campaign builder works in conjunction with the Promise Tracker Data Aggregator and the Promise Tracker Mobile Client.

Project info at: promisetracker.org

To Set Up

  1. Create an application.yml file based on template in config/application.yml.template. This file should contain the link and private key for an instace of the Promise Tracker Data Aggregator.
  2. Create a database.yml file based on template in config/database.yml.template.
  3. bundle install
  4. rake db:setup
  5. sudo apt-get install imagemagick -y

To Run

On your computer:

rails server

Or on c9:

rails s -b $IP -p $PORT

Deploying to Production

  1. Make sure to compile the assets: RAILS_ENV=production bin/rake assets:precompile
  2. Make sure to sudo chown -R www-data:www-data public/ so the web user can save images

About

Web app for developing and tracking civic monitoring campaigns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published