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 +17 -5
- data/lib/playframework/capistrano.rb +2 -2
- data/lib/playframework/capistrano/version.rb +1 -1
- metadata +1 -1
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
|
-
|
15
|
+
## Usage
|
16
16
|
|
17
|
-
|
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
|
-
|
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
|
-
|
33
|
+
`cap playframework:stop` (Stop your application.)
|
22
34
|
|
23
35
|
## Contributing
|
24
36
|
|