Skip to content

Generate Dynamic Creative XML feed for Shopify Products

Notifications You must be signed in to change notification settings

BoTreeConsultingTeam/dc_shopify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is simple app which would create products feed as per the schema by fetching products from a shopify store.

Installation

Run bundle from the home directory

Configuration

Need to set following environment variables to connect with shopify API

  1. SHOPIFY_API_KEY
  2. SHOPIFY_API_PASSWORD
  3. SHOP_NAME

How to run the test suite

Run following command From the root directory

SHOPIFY_API_KEY=<SHOPIFY API KEY> SHOPIFY_API_PASSWORD=<SHOPIFY API PASSWORD> SHOP_NAME=<STORES NAME YOU USE TO ACCESS FROM BROWSER> spring rspec spec

Note: The current version of VCR creates issue with Ruby 2.4.1 but highly recommend to use it to avoid flaky and slow tests.

How to run the app

  1. Start Server using rails s assuming all required environment variables are already set
  2. Hit http://localhost:3000 in browser

About

Generate Dynamic Creative XML feed for Shopify Products

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published