playframework-capistrano 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,7 +4,7 @@ PlayFramework / Capistrano Integration Gem.
4
4
 
5
5
  ## Installation
6
6
 
7
- PlayFramework / Capistrano integration is available as a separate gem. Add this line to your application's Gemfile:
7
+ PlayFramework / Capistrano integration is available as a separate gem. Add this line to your application's [Gemfile](https://github.com/tomasmuller/playframework-neo4j-template/blob/master/Gemfile):
8
8
 
9
9
  gem 'playframework-capistrano'
10
10
 
@@ -12,13 +12,25 @@ And then execute:
12
12
 
13
13
  $ bundle
14
14
 
15
- Or install it yourself as:
15
+ ## Usage
16
16
 
17
- $ gem install playframework-capistrano
17
+ Configure your project ([sample project](https://github.com/tomasmuller/playframework-neo4j-template)):
18
+ - [Capfile](https://github.com/tomasmuller/playframework-neo4j-template/blob/master/Capfile)
19
+ - [conf/deploy.rb](https://github.com/tomasmuller/playframework-neo4j-template/blob/master/conf/deploy.rb)
18
20
 
19
- ## Usage
21
+ Run `cap -vT` to see all the available tasks.
22
+
23
+ #### Deploying your PlayFramework app using PlayFramework/Capistrano Integration Gem:
24
+
25
+ `cap deploy:setup` (Prepares one or more servers for deployment.)
26
+
27
+ `cap deploy:check` (Test deployment dependencies.)
28
+
29
+ `cap deploy` (Deploys your project.)
30
+
31
+ `cap playframework:start_dev` || `cap playframework:start_prod` (Start your application.)
20
32
 
21
- TODO: Write usage instructions here
33
+ `cap playframework:stop` (Stop your application.)
22
34
 
23
35
  ## Contributing
24
36
 
@@ -71,5 +71,5 @@ module Capistrano
71
71
  end
72
72
  end
73
73
 
74
- end if Capistrano.const_defined? :Configuration and Capistrano::Configuration.methods.map(&:to_sym).include? :instance
75
- end # end module Capistrano
74
+ end
75
+ end
@@ -1,5 +1,5 @@
1
1
  module Playframework
2
2
  class Capistrano
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playframework-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: