To get a local copy up and running follow these simple steps.
Install a stable version of node, currently this is running v12.14.1
Install Node
Install NVM via Homebrew
- npm
npm install npm@latest -g
- ngrok
npm install -g ngrok
- Clone the repo
https://gitlab.com/commerce-club/webapp.git
- Install NPM packages
yarn install
-
Copy
.env.example
, rename it to.env
, replace variables by correct values -
Run the app in dev mode, this will open in
localhost:3000
yarn watch
- Open new terminal window and get domain with https traffic
ngrok http 3000
-
Copy https link from ngrok output and put it as redirect domain to shopify app
-
Open merchant account and run the app
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.