The Yale Film Alliance application
- Configure site credentials (
config/database.yml,config/aws.yml,config/email.yml)
- use environment variables to prevent credentials from being committed to git,
see example code in
database.yml.
bundle install
- install needed Ruby gems
rake db:setup
- create database, import schema, load seed data.
- depends on database and aws credentials.
- review environment file (e.g.:
config/environments/production.rborstaging.rb, depending onRAILS_ENV)
- adjust
config.action_mailer.default_url_optionsto reflect the URL of the site, used to form links in emails
- for production:
- put google analytics credentials into
config/analytics.yml. - may want to repoint
ExceptionNotificationsettings