adds doc/DEPLOYMENT instructions
This commit is contained in:
parent
92d9a57f3f
commit
4024329474
3 changed files with 27 additions and 4 deletions
23
doc/DEPLOYMENT.md
Normal file
23
doc/DEPLOYMENT.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
bundle exec cap production deploy
|
||||
Loading…
Add table
Add a link
Reference in a new issue