A template for creating rails websites that includes the following:
https://github.com/jamesperet/rails_website_template.git
config/database.yml
rake db:migrate
rake bootstrap:all
to configure the website and create a admin userconfig/application.yml
with all env variablesapp/assets/javascript/google_analytics.js.coffe
rails server -p 3000
admin@website.com
with the password 12345678
heroku create new-app-name
figaro heroku:set -e production
to copy env variables from config/application.yml
and set them in herokuheroku addons:add heroku-postgresql
to create and configure a postgres database in heroku serverheroku addons:add redistogo
git push heroku master
to deploy the repoheroku run rake db:migrate
heroku run rake bootstrap:all
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_S3_BUCKET:
HEROKU_APP_URL:
MANDRILL_USERNAME:
MANDRILL_KEY:
DOMAIN_NAME:
SERVER_EMAIL:
DEVISE_SECRET_KEY:
SECRET_KEY_BASE:
MAILCHIMP_KEY:
MAILCHIMP_LIST_ID:
REDISTOGO_URL: