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
- 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.
- Create a database.yml file based on template in config/database.yml.template.
bundle install
rake db:setup
sudo apt-get install imagemagick -y
On your computer:
rails server
Or on c9:
rails s -b $IP -p $PORT
- Make sure to compile the assets:
RAILS_ENV=production bin/rake assets:precompile
- Make sure to
sudo chown -R www-data:www-data public/
so the web user can save images