CARVIEW |
Shopify / shopify_app
- Source
- Commits
- Network (6)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
tree 899f94304820b21616bf
parent f0799d8beddd11f2b169 parent 13c3c09e550eab610a65
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Mon Nov 30 09:32:34 -0800 2009 | Require shopify_api gem [juliehache] |
![]() |
README.textile | Wed Feb 17 08:02:27 -0800 2010 | Removed fancy quotes from install.rb to play ni... [edward] |
![]() |
Rakefile | Thu Jul 30 12:17:57 -0700 2009 | Removed deprecated Gem::manage_gems line from R... [edward] |
![]() |
generators/ | Mon Feb 01 12:09:50 -0800 2010 | Added Pixel Printer-like behaviour for LoginCon... [edward] |
![]() |
init.rb | Wed Feb 17 08:02:27 -0800 2010 | Removed fancy quotes from install.rb to play ni... [edward] |
![]() |
install.rb | Wed Feb 17 08:02:27 -0800 2010 | Removed fancy quotes from install.rb to play ni... [edward] |
![]() |
lib/ | Mon Nov 30 09:32:34 -0800 2009 | Require shopify_api gem [juliehache] |
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 “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.
Installation:
gem install shopify_api
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 home 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.