Name: reaction-swag-shop
Owner: Reaction Commerce
Description: null
Created: 2017-11-09 06:26:13.0
Updated: 2018-05-08 16:03:46.0
Pushed: 2018-05-08 16:03:44.0
Size: 2328
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains the reaction-swag-shop plugin that's intended as a learning resource for everybody who's facing the task of customizing Reaction for her/his own shop implementation. The plugin's current state is deployed here. There's also a blog post series on our Reaction Blog that explains in more detail about the evolution of this ticket.
If you would like to use this shop plugin as a starting point for your own project, please follow the steps outlined below:
Create a new Reaction project for your new shop: https://docs.reactioncommerce.com/reaction-docs/master/installation
Clone this shop repository into the custom plugin folder. In your project directory, execute the following bash commands (Windows commands will look a bit different):
d <your-new-shop-directory-name>/imports/plugins/custom
it clone https://github.com/reactioncommerce/reaction-swag-shop.git
Ensure latest version of reaction-cli is installed
m i -g reaction-cli
Install dependencies and start Reaction
<your-new-shop-directory-name>
teor npm install
port SKIP_FIXTURES=1 && reaction
In case you experience the error Unknown asset: plugins/reaction-swag-shop/images/BCTMZ6HTxFSppJESk.jpg
, it's very
likely that the SKIP_FIXTURES environment variable is not set correctly. In that case, reset the database via
reaction reset -n
and ensure SKIP_FIXTURES is set properly before running reaction