public
Description: http://m.onkey.org/2008/12/4/rails-templates
Homepage: http://railscasts.com/episodes/148-app-templates-in-rails-2-3
Clone URL: git://github.com/jamesmacaulay/rails-templates.git
jamesmacaulay (author)
Fri Sep 11 22:01:11 -0700 2009
commit  b1646a72b4fd8b251cb30d233f7582b704b590e3
tree    69b391a90c7e9cf09ba6b3d69f1239bd6a6ac5ea
parent  374f0e438c2d88b3d5b63ec8b041a2ecd7f90600
rails-templates / shopify_app.rb
100644 22 lines (15 sloc) 0.395 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
file '.gitignore', <<GITIGNORE
.DS_Store
*.orig
.dotest
*.log
*.sqlite3
 
config/shopify.yml
GITIGNORE
 
git :init
 
plugin 'shopify_app', :git => 'git://github.com/Shopify/shopify_app'
 
api_key = ask("What is your app's API key?")
secret = ask("What is your app's shared secret?")
 
generate 'shopify_app', api_key + ' ' + secret
 
git :add => '.'
git :commit => '-am "fresh shopify_app generated"'