Playframework::Capistrano
PlayFramework / Capistrano Integration Gem.
Important
Use the branch master if you are developing with PlayFramework >= 2.2.0.
If you are stuck in previous versions of PlayFramework, go to playframework-2.1.x-compatible branch.
Installation
PlayFramework / Capistrano integration is available as a separate gem. Add this line to your application's Gemfile:
gem 'playframework-capistrano'
or
gem 'playframework-capistrano', '0.0.5' # for PlayFramework < 2.2.0
And then execute:
$ bundle
Usage
Configure your project (sample project):
Run cap -vT to see all the available tasks.
Deploying your PlayFramework app using PlayFramework/Capistrano Integration Gem:
cap deploy:setup (Prepares one or more servers for deployment.)
cap deploy:check (Test deployment dependencies.)
cap deploy (Deploys your project.)
cap playframework:start_dev || cap playframework:start_prod (Start your application.)
cap playframework:stop (Stop your application.)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request