capistrano-vmf 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/capistrano-vmf.gemspec +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a3e8ece153b628c9030ba311973d941bc2b787b
|
4
|
+
data.tar.gz: a530f27b9af94d67ea4bf8e80c2321e4351777ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7174276d40c4a4f5c7ca68e88b2c95a934693261fc7039a0f7528fbfb8aeb13e17667c9f6dd3c7c4af05cd0920276ab80e60546a1241c670bf22d3c64fbeb8
|
7
|
+
data.tar.gz: a1351a543dfbf50bc851c9063a053386ee293bd66b7e0ee61e5fe5674a3364a15ce6b3213e9da8eac59246510d9626582351c9bd02941f9655c1ed4d0656a2f2
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Capistrano::Vmf
|
2
2
|
|
3
|
-
[
|
3
|
+
[VM Farms](http://vmfarms.com) integration for [Capistrano](http://capistranorb.com/). If you're deploying a Rails app to VM Farms then this is a set of tasks that will conform to their best practices, and some generators that get you the most out of your hosting.
|
4
4
|
|
5
5
|
In particular,
|
6
6
|
|
@@ -61,22 +61,22 @@ Configurable options:
|
|
61
61
|
|
62
62
|
## Generators
|
63
63
|
|
64
|
-
This gem provides two generators that set up Unicorn and NewRelic RPM according to
|
64
|
+
This gem provides two generators that set up Unicorn and NewRelic RPM according to VM Farms recommended configuration.
|
65
65
|
|
66
66
|
### Unicorn
|
67
67
|
|
68
|
-
[Unicorn](unicorn.bogomips.org) is a high performance application server that allows you to restart your application with zero downtime. When you restart, a new set of unicorn processes are spun up leaving the old ones to handle requests. The new servers start taking requests when the booting is complete, then the old servers are killed.
|
68
|
+
[Unicorn](unicorn.bogomips.org) is a high performance application server that allows you to restart your application with zero downtime. When you restart, a new set of unicorn processes are spun up leaving the old ones to handle requests. The new servers start taking requests when the booting is complete, then the old servers are killed. VM Farms has special configuration on their side to do the zero downtime restarts correctly.
|
69
69
|
|
70
70
|
To use Unicorn in your application, run
|
71
71
|
|
72
72
|
bundle exec rails generate vmf:unicorn
|
73
73
|
bundle install
|
74
74
|
|
75
|
-
It will update your Gemfile and add a `config/unicorn.rb`. By default 4 application servers are run but this is easily changed by talking to
|
75
|
+
It will update your Gemfile and add a `config/unicorn.rb`. By default 4 application servers are run but this is easily changed by talking to VM Farms support.
|
76
76
|
|
77
77
|
### NewRelic
|
78
78
|
|
79
|
-
|
79
|
+
VM Farms has a partnership with [NewRelic](http://newrelic.com/) to give you free access to a standard account which provides detailed application performance monitoring. You will need a license key from VM Farms, then run
|
80
80
|
|
81
81
|
bundle exec rails generate vmf:newrelic
|
82
82
|
bundle install
|
@@ -101,6 +101,7 @@ Do you want to store secrets in a config file on the server?
|
|
101
101
|
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} # Same for directories
|
102
102
|
|
103
103
|
Then copy the local file config/database.yml to all your servers
|
104
|
+
|
104
105
|
cap production files:copy[config/database.yml] # copies local database.yml to all servers
|
105
106
|
|
106
107
|
## Contributing
|
data/capistrano-vmf.gemspec
CHANGED
@@ -4,11 +4,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-vmf"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.2"
|
8
8
|
spec.authors = ["Sean Walberg"]
|
9
9
|
spec.email = ["sean@ertw.com"]
|
10
|
-
spec.description = %q{Some capistrano automation to handle apps deployed to
|
11
|
-
spec.summary = %q{Some capistrano automation to handle apps deployed to
|
10
|
+
spec.description = %q{Some capistrano automation to handle apps deployed to VM Farms}
|
11
|
+
spec.summary = %q{Some capistrano automation to handle apps deployed to VM Farms}
|
12
12
|
spec.homepage = "https://github.com/swalberg/capistrano-vmf"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-vmf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Walberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Some capistrano automation to handle apps deployed to
|
69
|
+
description: Some capistrano automation to handle apps deployed to VM Farms
|
70
70
|
email:
|
71
71
|
- sean@ertw.com
|
72
72
|
executables: []
|
@@ -110,5 +110,5 @@ rubyforge_project:
|
|
110
110
|
rubygems_version: 2.2.1
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
|
-
summary: Some capistrano automation to handle apps deployed to
|
113
|
+
summary: Some capistrano automation to handle apps deployed to VM Farms
|
114
114
|
test_files: []
|