-
Notifications
You must be signed in to change notification settings - Fork 22
Heroku
johnam edited this page Apr 25, 2013
·
7 revisions
- Create a Heroku account.
- Either install the Heroku toolbelt, or install the 'heroku' gem on your dev machine.
- Create the app on the cedar stack:
heroku create app_name --stack cedar
- Set the environment variables
- MySQL database (for example ClearDB)
- Sengrid
- Solr (Websolr)
Suggested Addons
- Memcache
- Heroku Scheduler for running
rake cron:update_email_stats
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
heroku create app_name --stack cedar
- Set the environment variables
- Deploy:
git push heroku master
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.