public
Description: Adds a full Shopify API Application environment to your application
Homepage: http://www.shopify.com/developers
Clone URL: git://github.com/Shopify/shopify_app.git
name age message
file CHANGELOG Mon Jun 08 09:23:44 -0700 2009 Don't require shopify.yml when using environmen... [codyfauser]
file README.textile Thu Oct 09 08:11:23 -0700 2008 initial import [Tobias Lütke]
file Rakefile Thu Jul 30 12:17:57 -0700 2009 Removed deprecated Gem::manage_gems line from R... [edward]
directory generators/ Mon Sep 21 11:49:02 -0700 2009 More style tweaks to the install screen [edward]
file init.rb Mon Jun 08 09:23:44 -0700 2009 Don't require shopify.yml when using environmen... [codyfauser]
file install.rb Mon Sep 21 11:27:21 -0700 2009 Minor copy changes – saying “Install” instead o... [edward]
directory lib/ Mon Nov 16 04:32:23 -0800 2009 Refer to Base instead of AR::Base to make use o... [jstorimer]
README.textile

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. http://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:

  1. Run your application with script/server
  2. And visit http://localhost:3000 and you are ready to log in with your Shopify account.