a capistrano recipe to deploy Play! apps.
this project was forked from play-capistrano and modified to create gem.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install capistrano-play
This recipes will try to do following things during Capistrano
- Download and install Play! runtime for current project
- Build Play! project remotely (default) or locally
To build you Play! projects during Capistrano
deploy tasks, add following in you
config/deploy.rb. By default, Play! precompile will run after the Capistrano's
# in "config/deploy.rb" require 'capistrano-play' set(:play_version, '1.2.4') # Play! version for your app
Following options are available to manage your Play! build.
:play_version- Play! version for your app.
:play_zip_url- download URL of Play! runtime.
:play_preserve_zip- controls whether preserving downloaded archive or not.
:play_use_precompile- performe precompilation before restarting service.
:play_precompile_locally- perform precompilation on localhost.
JAVA_HOMEfor Play! runtime.
JAVA_HOMEfor Play! runtime on localhost.
:play_setup_ivy- controls whether managing
:play_setup_ivy_locally- controls whether managing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
- YAMASHITA Yuu (https://github.com/yyuu)
- Geisha Tokyo Entertainment Inc. (http://www.geishatokyo.com/)
Apache License 2.0