mina-serverbuild 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +14 -7
- data/lib/mina/serverbuild.rb +3 -0
- data/lib/mina/serverbuild/ubuntu.rake +5 -0
- data/lib/mina/serverbuild/version.rb +1 -1
- data/mina-serverbuild.gemspec +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 306fd1d8094daef7141f9d253ac31963723b79ed
|
4
|
+
data.tar.gz: 5e1bd4f4f4770de0b1dc3b6bf78b6010bd575db5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4031b3ff8d73a4d87b9667ce51de08f431e4645cecc9f6da4fa3a9af179c5f9f822d6e2f19d08e8ce14c6926786323612ada834e2663c64b8f26ea72aa58ea
|
7
|
+
data.tar.gz: 84722de581a255fe8b27648aa7d9a3b43aaff8b00a0822a86ad3bbe9fe86ad99142c7685e66ae33004629d293d4dedb3fd6a15aa37311efb448f0e4a238c5535
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -36,19 +36,26 @@ to give you a server ready for deployment
|
|
36
36
|
You can add the following variables to your deploy.rb file to customise the installation, the default values
|
37
37
|
are currently for an Ubuntu 14.04 installation
|
38
38
|
|
39
|
-
set :deployment_platform,
|
40
|
-
set :platform_codename,
|
41
|
-
set :database_server,
|
42
|
-
set :
|
43
|
-
set :
|
39
|
+
set :deployment_platform, "ubuntu"
|
40
|
+
set :platform_codename, "trusty"
|
41
|
+
set :database_server, "postgresql"
|
42
|
+
set :web_server, "nginx"
|
43
|
+
set :ruby_manager, "rbenv"
|
44
|
+
set :ruby_version, "2.1.2"
|
44
45
|
|
45
46
|
* deployment_platform
|
46
47
|
* ubuntu
|
47
|
-
*
|
48
|
-
Supported platforms are 12.04 (precise), and 14.04 (trusty)
|
48
|
+
* platform_codename
|
49
|
+
Supported platforms are 12.04 (precise), and 14.04 (trusty)
|
50
|
+
* redhat (work in progress)
|
49
51
|
|
50
52
|
* ruby_manager
|
51
53
|
* rbenv
|
54
|
+
* rvm (work in progress)
|
55
|
+
|
56
|
+
* web_server
|
57
|
+
* nginx
|
58
|
+
* apache
|
52
59
|
|
53
60
|
|
54
61
|
## Contributing
|
data/lib/mina/serverbuild.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require "mina/serverbuild/version"
|
2
2
|
|
3
|
+
# Mina Module is the Parent of all Classes in this Gem
|
3
4
|
module Mina
|
5
|
+
#
|
6
|
+
# The Serverbuild Module encloses all the Rake Taskd for this gem
|
4
7
|
module Serverbuild
|
5
8
|
load File.expand_path("../serverbuild/serverbuild.rake", __FILE__)
|
6
9
|
end
|
@@ -49,6 +49,11 @@ namespace :build_ubuntu do
|
|
49
49
|
queue "sudo apt-get -y update"
|
50
50
|
queue "sudo apt-get -y install nginx"
|
51
51
|
end
|
52
|
+
|
53
|
+
desc "Install Apache 2"
|
54
|
+
task :apt_install_apache2 do
|
55
|
+
queue "sudo apt-get install apache2"
|
56
|
+
end
|
52
57
|
|
53
58
|
desc "Install RBENV Ruby Manager"
|
54
59
|
task :build_rbenv do
|
data/mina-serverbuild.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mina-serverbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Simkins
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
99
|
+
version: 1.9.3
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - ">="
|