foodsoft/doc/DEPLOYMENT.md

27 lines
389 B
Markdown
Raw Normal View History

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
2013-05-25 20:03:53 +02:00
Deploy
--------
On your first deploy you should run
bundle exec cap deploy:setup
bundle exec cap deploy:check
2013-05-25 20:03:53 +02:00
Deploy to staging
bundle exec cap deploy
2013-05-25 20:03:53 +02:00
Deploy to production
bundle exec cap production deploy