Skip to content

glossier/solidus_retail

Repository files navigation

Solidus Retail

Build Status

Sometimes online stores have point-of-sale operations as well. This extension brings your e-commerce and brick-and-mortar together under one umbrella.

Installation

Add solidus_retail to your Gemfile:

gem 'solidus_retail'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_retail:install

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_retail/factories'

Shopify doesn't allow sandbox environment. In order to run the specs locally you would have to enter your own Shopify credentials else the spec suite will throw you an error.

In order to correctly run the spec suite of this gem, you must entered your own Shopify credentials. Here are the keys that are required:

SHOPIFY_PASSWORD=
SHOPIFY_API_KEY=
SHOPIFY_SHARED_SECRET=
SHOPIFY_SHOP_NAME=
SHOPIFY_WEBHOOK_SHARED_SECRET=

Copyright (c) 2016 Glossier, released under the New BSD License

About

Solidus Extension to Support Retail Operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages