#72 Adding an Environment
Sep 24, 2007 | 3 minutes |
Rails comes with three environments: development, test, and production. But, you aren't restricted to just these. You can add your own! See how in this episode.
- mp4Full Size H.264 Video (6.39 MB)
- m4vSmaller H.264 Video (3.86 MB)
- webmFull Size VP8 Video (10.1 MB)
- ogvFull Size Theora Video (8.89 MB)
There is a newer version of this episode, see the revised episode.
config.log_level = :debug
mysqladmin create store_staging -u root -p
rake db:migrate RAILS_ENV=staging
script/server -e staging