Press the URL below to directly build this Blog in your own Storyblok space list.
Make sure you're already registered, if not register and press the link again.
You can now create new Blog posts. Hurrrray!
This repository uses the Rendering Service of Storyblok to provide you a quick and easy to use starting point for Snipcart in combination with Storyblok.
## Install the CLI
npm install -g storyblok
## setup configuration
storyblok select
- How should your Project be named - Your Project Name
- Select the type of your project - Theme (Storyrenderer/Hosted)
- We got some Themes prepared for you: - Custom Theme [We will ask you about your Github URL]
- What is your github theme URL? - https://github.com/dominikangerer/storyblok-snipcart-shop
- What is your space ID? - YOUR_SPACE_ID (Can be found on the Space dashboard)
- What is your domain? - YOUR_STORYBLOK_SUBDOMAIN (Can be found in your Space settings "Location")
- What is your theme token? - YOUR_THEME_TOKEN (Can be found on the Space dashboard)
The rendering service automatically pushes your new changes to Storyblok using a gulp task in the background. You can have a look at the Kickstart of Storyblok or at the gulpfile.babel.js
in this repository so you know what will happen next.
In the background we're using gulp
so you can change all the commands below and adopt them to your need.
# Start you local dev environment on port 4440
$ npm run dev
# Build static assets (styles, scripts)
$ npm run build
# Sync your current state on the dev environment
$ npm run deploy:dev
# Sync your current state on the live environment
$ npm run deploy:live
Sure! You can find them right here: