revelry_generate 0.4.2 → 0.4.3
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/skeletons/slush/__generators__/post_skeleton.rb +37 -36
- 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: 5cc5661bf17ae8cfc8c9b88a457454160b44c28f
|
|
4
|
+
data.tar.gz: 85d5eda7751c39943bb875725683f34ab2896c5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecab62e6bb31fb5ca6b391ece1d215a5d321e65efb4d5b96f5ab37d93c627c8ffa0aaf3adf180a39415a8071f80baefbe42d7bef8fcba9a79c3187df890a597e
|
|
7
|
+
data.tar.gz: d5bf7b9f18bd18aa39bb7a0f96fe3db5f3047a4c71f9b54ad568b285ebcc5635dcb1cbd21bcc2cf4ecfcadee054115d2fff3389140270358d04099a66a2dc46c
|
|
@@ -158,51 +158,52 @@ inject_into_file 'render-server/package.json', after: '"scripts": {' do
|
|
|
158
158
|
JSON
|
|
159
159
|
end
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
generate 'rspec:install'
|
|
162
|
+
system("SKELETON=#{ENV['SKELETON']||'slush'} rails g revelry_generate:skeleton")
|
|
163
|
+
git :init
|
|
162
164
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
if yes? 'Setup github and heroku?'
|
|
166
|
+
repo = ask('Github repo name (e.g. foo/bar): ')
|
|
167
|
+
system("hub create #{repo}")
|
|
168
|
+
create_file 'README.md'
|
|
169
|
+
append_to_file 'README.md', <<-MD
|
|
170
|
+
## Starting render server
|
|
169
171
|
|
|
170
|
-
|
|
172
|
+
To start the render server, do:
|
|
171
173
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
```
|
|
175
|
+
npm run dev
|
|
176
|
+
```
|
|
175
177
|
|
|
176
|
-
|
|
178
|
+
## Deploy to Heroku
|
|
177
179
|
|
|
178
|
-
|
|
180
|
+
[](https://heroku.com/deploy?template=https://github.com/#{repo})
|
|
179
181
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
182
|
+
MD
|
|
183
|
+
system <<-SHELL
|
|
184
|
+
git add .
|
|
185
|
+
git commit -m 'Commit initially'
|
|
186
|
+
git push origin -u master
|
|
187
|
+
open https://heroku.com/deploy?template=`git remote get-url origin`
|
|
188
|
+
SHELL
|
|
189
|
+
else
|
|
190
|
+
create_file 'README.md'
|
|
191
|
+
append_to_file 'README.md', <<-MD
|
|
192
|
+
## Starting render server
|
|
191
193
|
|
|
192
|
-
|
|
194
|
+
To start the render server, do:
|
|
193
195
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
196
|
+
```
|
|
197
|
+
npm run dev
|
|
198
|
+
```
|
|
197
199
|
|
|
198
|
-
|
|
200
|
+
## Deploy to Heroku
|
|
199
201
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
```
|
|
203
|
+
[](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
|
|
204
|
+
```
|
|
203
205
|
|
|
204
|
-
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
system('cat README.md')
|
|
206
|
+
MD
|
|
208
207
|
end
|
|
208
|
+
|
|
209
|
+
system('cat README.md')
|