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
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"'