capistrano3-ubuntu-server-prepare 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +176 -0
- data/Rakefile +2 -0
- data/capistrano-ubuntu-server-prepare.gemspec +23 -0
- data/config/production/nginx/nginx.conf +136 -0
- data/config/production/nginx/nginx_with_pagespeed.conf +160 -0
- data/config/production/nginx/upstart.conf +22 -0
- data/config/production/redis/redis.conf +827 -0
- data/config/production/redis/upstart.conf +10 -0
- data/config/production/unicorn/unicorn.rb +86 -0
- data/lib/capistrano3-ubuntu-server-prepare.rb +3 -0
- data/lib/capistrano3/tasks/ubuntu-server-prepare.rake +340 -0
- data/lib/capistrano3/ubuntu-server-prepare.rb +1 -0
- data/lib/railtie.rb +11 -0
- data/lib/tasks/capstrano3-ubuntu-server-prepare.rake +13 -0
- metadata +124 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
require "highline/import"
|
2
|
+
require 'erb'
|
3
|
+
require 'pathname'
|
4
|
+
namespace :ubuntu_server_prepare do
|
5
|
+
desc "rake ubuntu_server_prepare:copy_config"
|
6
|
+
task :copy_config do
|
7
|
+
tasks_dir = Pathname.new('lib/capistrano/tasks')
|
8
|
+
config_dir = Pathname.new('config')
|
9
|
+
production_dir = config_dir.join('production')
|
10
|
+
deploy_rb = File.expand_path("../../../config/production", __FILE__)
|
11
|
+
FileUtils.cp_r(deploy_rb, config_dir)
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano3-ubuntu-server-prepare
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- goooseman
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: highline
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.7'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: capistrano
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.1'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 3.1.0
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '3.1'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 3.1.0
|
75
|
+
description: Can install nginx, ngx_pagespeed, postgreSQL, Redis, RVM, Ruby, Rails,
|
76
|
+
Bundler
|
77
|
+
email:
|
78
|
+
- inbox@goooseman.ru
|
79
|
+
executables: []
|
80
|
+
extensions: []
|
81
|
+
extra_rdoc_files: []
|
82
|
+
files:
|
83
|
+
- ".gitignore"
|
84
|
+
- Gemfile
|
85
|
+
- LICENSE.txt
|
86
|
+
- README.md
|
87
|
+
- Rakefile
|
88
|
+
- capistrano-ubuntu-server-prepare.gemspec
|
89
|
+
- config/production/nginx/nginx.conf
|
90
|
+
- config/production/nginx/nginx_with_pagespeed.conf
|
91
|
+
- config/production/nginx/upstart.conf
|
92
|
+
- config/production/redis/redis.conf
|
93
|
+
- config/production/redis/upstart.conf
|
94
|
+
- config/production/unicorn/unicorn.rb
|
95
|
+
- lib/capistrano3-ubuntu-server-prepare.rb
|
96
|
+
- lib/capistrano3/tasks/ubuntu-server-prepare.rake
|
97
|
+
- lib/capistrano3/ubuntu-server-prepare.rb
|
98
|
+
- lib/railtie.rb
|
99
|
+
- lib/tasks/capstrano3-ubuntu-server-prepare.rake
|
100
|
+
homepage: http://github.com/goooseman/capistrano3-ubuntu-server-prepare
|
101
|
+
licenses:
|
102
|
+
- MIT
|
103
|
+
metadata: {}
|
104
|
+
post_install_message:
|
105
|
+
rdoc_options: []
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
requirements: []
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 2.2.2
|
121
|
+
signing_key:
|
122
|
+
specification_version: 4
|
123
|
+
summary: A task for Capistrano v3 to prepare Ubuntu 14.04 server for first deployment
|
124
|
+
test_files: []
|