Heroku - PurposeOpen/Platform GitHub Wiki
Set Up
- Create a Heroku account.
- Either install the Heroku toolbelt, or install the 'heroku' gem on your dev machine.
Create Your Purpose Platform App
- Create the app on the cedar stack:
heroku create app_name --stack cedar
- Set the environment variables
Addons
- MySQL database (for example ClearDB)
- Sengrid
- Solr (Websolr)
Suggested Addons
- Memcache
- Heroku Scheduler for running
rake cron:update_email_stats
Deploy your Purpose Platform App
Creating a Heroku app from the repo's directory creates a remote named 'heroku'. Some people rename their remotes to reflect their apps ('production', 'staging' etc.). The configs can be changed by editing .git/config.
- Deploy:
git push heroku master
Create and Deploy Your Movement App
heroku create app_name --stack cedar
- Set the environment variables
- Deploy:
git push heroku master
What Will it Cost?
How much it costs to run your site depends on the traffic your movement receives, and how much data it generates (number of members, emailing volume).
You can estimate your costs with Heroku's cost calculator and Addons page.