johnhenry 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -42
- data/app/models/john_henry_user.rb +1 -1
- data/lib/johnhenry/version.rb +1 -1
- data/lib/tasks/johnhenry_tasks.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06ddbbd6c1bbf0e808b99e8e6950877e7917841a
|
4
|
+
data.tar.gz: 59255b27cb65ca1d153ee9ed6d3ae1356a67badf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caf8f98c23c75b0e621d5b9683a52a290fd88fb343f225d45294f63c27d2efdaa798c18c721d4fd0075dad9bc141f5af3be786260f0b9a2131d9a8956f6021d9
|
7
|
+
data.tar.gz: ba627602f253d4341af5f3fde76d0fbe517beaaa80c03c41ba0686555ff0912f18ad6293f8b000b958efaf8b90b7dfe3d87eb742c2102fcfb9759019268350fe
|
data/README.md
CHANGED
@@ -33,7 +33,10 @@ A brand new Rails 4 project with *just* JohnHenry is live at:
|
|
33
33
|
This is exactly what you will end up with after installing.
|
34
34
|
|
35
35
|
# Installation screencast
|
36
|
-
|
36
|
+
Using the install script makes the process very easy. If you're still not
|
37
|
+
convinced, watch this video of launching a brand new JohnHenry installation
|
38
|
+
in under three minutes:
|
39
|
+
[](http://www.youtube.com/watch?v=CkjvOgzmC1M)
|
37
40
|
|
38
41
|
# Installation on Mac OS X
|
39
42
|
#### .. and probably Linux
|
@@ -55,49 +58,16 @@ $ rails -v
|
|
55
58
|
Rails 4.0.2
|
56
59
|
```
|
57
60
|
|
58
|
-
1.
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
`gem 'johnhenry'`
|
63
|
-
|
64
|
-
1. Run `bundle` to update `Gemfile.lock`
|
65
|
-
|
66
|
-
1. Run JohnHenryRails installation script:
|
67
|
-
`bundle exec rake john_henry:install`
|
68
|
-
|
69
|
-
1. Commit the generated changes:
|
70
|
-
|
71
|
-
```bash
|
72
|
-
git add app config Gemfile*
|
73
|
-
git rm app/views/layouts/application.html.erb
|
74
|
-
git commit -m 'Install JohnHenryRails'
|
75
|
-
```
|
76
|
-
|
77
|
-
1. Install database migrations and run them
|
61
|
+
1. Download and run the install script:
|
62
|
+
## Basic Installation
|
63
|
+
This assumes that you have the following commands available to you on your
|
64
|
+
command line: `rails`, `bundle`, `git`, `heroku`.
|
78
65
|
```bash
|
79
|
-
|
80
|
-
|
81
|
-
git add db && git commit -m 'Add initial migrations and schema.rb'
|
66
|
+
export projectname="MyWebSiteName"
|
67
|
+
curl https://raw.github.com/derwiki/johnhenry/master/install.sh | bash -
|
82
68
|
```
|
83
|
-
|
84
|
-
|
85
|
-
```bash
|
86
|
-
bundle exec rails server
|
87
|
-
```
|
88
|
-
and load `http://localhost:3000/` in your web browser of choice.
|
89
|
-
|
90
|
-
1. Create the Heroku instance:
|
91
|
-
```bash
|
92
|
-
heroku create sampleproject # Heroku doesn't allow mixed case
|
93
|
-
git push heroku master
|
94
|
-
heroku run rake db:migrate
|
95
|
-
heroku restart
|
96
|
-
```
|
97
|
-
|
98
|
-
1. Verify in your web browser: `http://sampleproject.herokuapp.com`
|
99
|
-
|
100
|
-
Congratulations! You made something on the internet!
|
69
|
+
Congratulations, you've now made something on the internet! Be sure to tell
|
70
|
+
your mom.
|
101
71
|
|
102
72
|
## Extended / Optional Setup
|
103
73
|
1. Set up Google Analytics. You can sign up at:
|
data/lib/johnhenry/version.rb
CHANGED