Project

deplay

0.0
No commit activity in last 3 years
No release in over 3 years
See http://jeroenr.github.com/deplay/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.5.21
 Project Readme

endorse

deplay

deplay is a capistrano plugin to facilitate the deployment of Play! applications (inspired by supply_drop). It works by packaging your Play! application and copying (using rsync, or scp) it to your servers

Installation

gem install deplay

or with Bundler

gem 'deplay'

Tasks

cap deplay:setup

This sets up the environment for Play! deployment, depending on your configuration.

cap deplay:deploy_dev

This deploys the Play! application on the target servers using development configuration.

cap deplay:deploy_prod

This deploys the Play! application on the target servers using production configuration.

cap deplay:stop

Stops the Play! application.

cap deplay:start

Starts the Play! application.

Configuration

At the top of your deploy.rb

require 'rubygems'
require 'deplay'

then optionally set some variables

set :app_name, 'my_app'

the name of your app. Used for the log file and messages

set :log_dir, '/var/log'

the log directory on the target machine.

set :prod_conf, 'prod.conf'

the production configuration file to use.

set :deploy_to, '/var/lib/my_app'

the path to deploy to.

set :project_home, '.'

the location of your Play! project (local path).