Skip to content

edward/shopify_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify application generator for Rails 3

Description:

This plugin makes it easy to get a Rails 3 app up and running with the
Shopify API.

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
  $ rails plugin install git://github.com/Shopify/shopify_app.git

Usage:


  $ rails generate shopify_app your_app_api_key your_app_secret

If you don’t have an API key yet, create a Shopify Partner account at
http://shopify.com/partners and create an app. You can also create test shops
once you’re logged in as a partner.

You can also create a private application that only works for your shop by
visiting https://YOUR-SHOP.myshopify.com/admin/api

Example:


  $ rails generate shopify_app edffbb1bb793e2750686e6f4647a384a fed5bb18hde3e2750686e6f4647a781a

This will create a LoginController and a HomeController with their own views.

After running the generator:

  1. Start your application with rails server
  2. Visit http://localhost:3000 and you are ready to
    log in with your Shopify account.

About

Adds a full Shopify API Application environment to your application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%