2013-05-25 20:03:53 +02:00
|
|
|
Deployment
|
|
|
|
=========
|
|
|
|
|
|
|
|
Setup
|
|
|
|
--------
|
|
|
|
|
|
|
|
cp config/deploy.rb.SAMPLE config/deploy.rb
|
|
|
|
touch config/deploy/staging.rb
|
|
|
|
touch config/deploy/production.rb
|
|
|
|
|
|
|
|
|
|
|
|
Deploy
|
|
|
|
--------
|
|
|
|
|
|
|
|
On your first deploy you should run
|
|
|
|
bundle exec cap deploy:setup
|
|
|
|
bundle exec cap deploy:check
|
|
|
|
|
|
|
|
Deploy to staging
|
|
|
|
bundle exec cap deploy
|
|
|
|
|
|
|
|
Deploy to production
|
2013-10-28 15:49:59 +01:00
|
|
|
bundle exec cap production deploy
|