Integrates Hull with Shopify
- Go to your Hull dashboard > Ships > Add new
- Paste the following URL :
https://hull-ships.github.io/hull-shopify/
- Configure your selectors in the customize panel
- Add your ship to a Platform.
- Fork
- Install
npm install -g gulp
npm install
gulp
- You need a publicly-hosted dev version. The easiest way is with Ngrok.
- Ships are pre-configured to use the name in
package.json
as a subdomain if aNGROK_AUTHTOKEN
is present in the environment.
For instance, this ship will be accessible on on
https://hull-shopify.ngrok.com/
- Create a ship as usual : "Ships > Add New". Enter
https://hull-shopify.ngrok.com/
. - Go to the "Advanced" Tab, enter the public dev URL for your fork in "Ship URL" and save.
- Create a platform with your public demo url:
https://hull-shopify.ngrok.com/index.html
- Copy Platform Snippet in
index.html
- Embed the ship in the platform using a selector that can be found in your
index.html
- Visit
https://hull-shopify.ngrok.com/index.html