revelry_generate 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/skeletons/slush/__generators__/post_skeleton.rb +36 -34
- 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: eda03765935919c5b0d87c1fb62ce7bcace7e7e4
|
4
|
+
data.tar.gz: 9ef62c58e0411faad2529d4722973b4da7dbeacd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b041120d0677e83f2fc484fa6c646f94c266b5decad7e30fe1a321bb77502d0199452937eb20072617bd56b397a5e4be82b75a63a87540b5532c6b39908da0c
|
7
|
+
data.tar.gz: a671923a99a4ec75bd6300d5d898ea99338e969a79afc8c6c0ea42c36c97830252853a13ca53b6667604c8485594b0053ad048026d211d341de2688863b3fbd6
|
@@ -158,49 +158,51 @@ inject_into_file 'render-server/package.json', after: '"scripts": {' do
|
|
158
158
|
JSON
|
159
159
|
end
|
160
160
|
|
161
|
-
|
162
|
-
repo = ask('Github repo name (e.g. foo/bar): ')
|
163
|
-
system("hub create #{repo}")
|
164
|
-
create_file 'README.md'
|
165
|
-
append_to_file 'README.md', <<-MD
|
166
|
-
## Starting render server
|
161
|
+
after_bundle do
|
167
162
|
|
168
|
-
|
163
|
+
if yes? 'Setup github and heroku?'
|
164
|
+
repo = ask('Github repo name (e.g. foo/bar): ')
|
165
|
+
system("hub create #{repo}")
|
166
|
+
create_file 'README.md'
|
167
|
+
append_to_file 'README.md', <<-MD
|
168
|
+
## Starting render server
|
169
169
|
|
170
|
-
|
171
|
-
npm run dev
|
172
|
-
```
|
170
|
+
To start the render server, do:
|
173
171
|
|
174
|
-
|
172
|
+
```
|
173
|
+
npm run dev
|
174
|
+
```
|
175
175
|
|
176
|
-
|
176
|
+
## Deploy to Heroku
|
177
177
|
|
178
|
-
|
179
|
-
system <<-SHELL
|
180
|
-
git add .
|
181
|
-
git commit -m 'Commit initially'
|
182
|
-
git push origin -u master
|
183
|
-
open https://heroku.com/deploy?template=`git remote get-url origin`
|
184
|
-
SHELL
|
185
|
-
else
|
186
|
-
create_file 'README.md'
|
187
|
-
append_to_file 'README.md', <<-MD
|
188
|
-
## Starting render server
|
178
|
+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/#{repo})
|
189
179
|
|
190
|
-
|
180
|
+
MD
|
181
|
+
system <<-SHELL
|
182
|
+
git add .
|
183
|
+
git commit -m 'Commit initially'
|
184
|
+
git push origin -u master
|
185
|
+
open https://heroku.com/deploy?template=`git remote get-url origin`
|
186
|
+
SHELL
|
187
|
+
else
|
188
|
+
create_file 'README.md'
|
189
|
+
append_to_file 'README.md', <<-MD
|
190
|
+
## Starting render server
|
191
191
|
|
192
|
-
|
193
|
-
npm run dev
|
194
|
-
```
|
192
|
+
To start the render server, do:
|
195
193
|
|
196
|
-
|
194
|
+
```
|
195
|
+
npm run dev
|
196
|
+
```
|
197
197
|
|
198
|
-
|
199
|
-
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
|
200
|
-
```
|
198
|
+
## Deploy to Heroku
|
201
199
|
|
202
|
-
|
203
|
-
|
200
|
+
```
|
201
|
+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
|
202
|
+
```
|
204
203
|
|
204
|
+
MD
|
205
|
+
end
|
205
206
|
|
206
|
-
system('cat README.md')
|
207
|
+
system('cat README.md')
|
208
|
+
end
|