CARVIEW |
Every repository with this icon (

Every repository with this icon (

Description: | Adds a full Shopify API Application environment to your application |
Homepage: | https://www.shopify.com/developers |
Clone URL: |
git://github.com/Shopify/shopify_app.git
Give this clone URL to anyone.
git clone git://github.com/Shopify/shopify_app.git
|
name | age | message | |
---|---|---|---|
![]() |
README.textile | Thu Oct 09 08:11:23 -0700 2008 | initial import [tobi] |
![]() |
Rakefile | Mon Jan 19 11:04:07 -0800 2009 | Added rake task to update shopify_api.rb from m... [edward] |
![]() |
generators/ | Thu Jun 04 07:36:00 -0700 2009 | Updated LoginController and ShopifyAPI to take ... [jstorimer] |
![]() |
init.rb | Thu May 07 11:33:49 -0700 2009 | run shopify.yml through ERB [jamesmacaulay] |
![]() |
install.rb | Wed Jun 03 09:08:42 -0700 2009 | Fixed minor typo [Edward Ocampo-Gooding and Jesse Storimer] |
![]() |
lib/ | Thu Jun 04 07:36:00 -0700 2009 | Updated LoginController and ShopifyAPI to take ... [jstorimer] |
Shopify application generator
Description:
This plugin adds access to Shopify’s powerful API to your rails application.
The generator creates a basic login controller for authenticating with your Shop and a controller called “dashboard” 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.
Installation:
script/plugin install git://github.com/Shopify/shopify_app
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. https://yourshopname.myshopify.com/admin/api)
Example:
script/generate shopify_app edffbb1bb793e2750686e6f4647a384a fed5bb18hde3e2750686e6f4647a781a
This will create a login controller and a dashboard controller with their own views.
After running the generator:
- Run your application with
script/server
- And visit https://localhost:3000 and you are ready to log in with your Shopify account.