Permalink
Browse files

Updated some instructions w

  • Loading branch information...
1 parent add2f94 commit ca8cf49e7f82cd35d811e88775b7d45907f5f69c @tobi tobi committed Jun 11, 2009
Showing with 15 additions and 11 deletions.
  1. +5 −8 generators/shopify_app/USAGE
  2. +10 −3 install.rb
@@ -3,24 +3,21 @@ Description:
you started. You can see some examples on how to use the Shopify API.
The generator creates a basic login controller for authenticating with your
- Shop and a controller called "dashboard" which displays basic information
+ Shop and a controller called "home" which displays basic information
about your products, orders and articles.
Note: It's recommended to use this on a new Rails project, so that the
generator won't overwrite/delete some of your files.
Usage:
Pass your API key and then your Secret, which the login controller
- will need to authenticate with your shop.
- If you don't have an API key yet, register your application at:
-
- <YourShopURL>/admin/api
- (e.g. "http://shopname.myshopify.com/admin/api")
+ will need to authenticate with your shop.
+ If you don't have an API key yet, register your application in our
+ partner system at http://www.shopify.com/partners
Examples:
script/generate shopify_app edffbb1bb793e2750686e6f4647a384a abbcee050...
- Will create a login controller and a dashboard controller with their
- own views.
+ This will create a login controller and a home controller and views.
View
@@ -1,3 +1,10 @@
-puts "---------------------------------------------------------------------------"
-puts " Pleae run ./script/generate shopify_app"
-puts "---------------------------------------------------------------------------"
+puts
+puts "Shopify App generator"
+puts "---------------------"
+puts
+puts "Before you set can get started, you need to register your application with the Shopify Partner UI."
+puts
+puts " * Go to http://www.shopify.com/partners and create or login your partner account. Before you get started with your Shopify app you need to "
+puts " * Register your application on the Application tab. Use http://localhost:3000/login/finalize as redirect URL during development."
+puts " * run ./script/generate shopify_app <api_key> <secret>"
+puts

0 comments on commit ca8cf49

Please sign in to comment.