rails-ahoy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d535231eb0394ad0fb21387833bb68980997d28a
|
4
|
+
data.tar.gz: bd6bfd58b435924f476f42dfda6a8a15fbeb3f58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 076213af7088b096bdc8f2db2aa6070f963819b727bf5cf8eb625ec7ef08870319134ff0608aba4b9f77af85fa231e76f7af0f3629085d726233e07a79abf87e
|
7
|
+
data.tar.gz: cbd035cd2872864beea6a9b2302d51eb3176bdd764ddab17faf4083c1d8630b4525f7e28692013468820124938ce2e55e2bc6f45de4c2f9858cab07913942139
|
data/README.md
CHANGED
@@ -42,15 +42,13 @@ gem 'rails-ahoy'
|
|
42
42
|
|
43
43
|
$ bundle install
|
44
44
|
|
45
|
-
### Step 2
|
46
|
-
|
47
45
|
Execute the following terminal command to launch Ahoy's interactive guide
|
48
46
|
|
49
47
|
$ rails generate ahoy:init
|
50
48
|
|
51
49
|
Continue to next step AFTER you complete the interactive guide
|
52
50
|
|
53
|
-
### Step
|
51
|
+
### Step 2
|
54
52
|
|
55
53
|
If you don't have a production *secret_key_base*, generate one using:
|
56
54
|
|
@@ -66,20 +64,19 @@ Now just copy and paste it into the following file:
|
|
66
64
|
|
67
65
|
**IMPORTANT:** At this point make sure to commit your changes and push them up to your repo!
|
68
66
|
|
69
|
-
### Step
|
67
|
+
### Step 3
|
70
68
|
|
71
69
|
**IMPORTANT:** For this step, you will need a freshly installed Ubuntu box with root ssh privileges. If you're not sure how to do this, contact your web hosting administrator.
|
72
70
|
|
73
|
-
From
|
71
|
+
From the root of your Rails application...
|
74
72
|
|
75
|
-
$ cd config/ansible
|
76
|
-
$ ./production.sh
|
73
|
+
$ cd config/ansible && ./production.sh
|
77
74
|
|
78
75
|
Executing `production.sh` will launch the provisioning process and setup your box so it can run Rails using Nginx as the web server, Puma as your application server, and PostgreSQL as your database.
|
79
76
|
|
80
77
|
**NOTE:** This process may take a while (15 mins or so), so sit back and relax.
|
81
78
|
|
82
|
-
### Step
|
79
|
+
### Step 4
|
83
80
|
|
84
81
|
**ASSUMPTION:** This step assumes that your code is hosted in a Github repo.
|
85
82
|
|
@@ -97,7 +94,7 @@ This will print out something like this:
|
|
97
94
|
|
98
95
|
Copy the public key and paste it into your Rails application Github repo settings to allow SSH access.
|
99
96
|
|
100
|
-
### Step
|
97
|
+
### Step 5
|
101
98
|
|
102
99
|
Go back to the root of your Rails application and execute the following command:
|
103
100
|
|
data/lib/ahoy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-ahoy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Pearson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|