Skip to content
Sinatra app to preview a Shopify theme locally
Branch: master
Clone or download
Latest commit 41e685f May 10, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib render cart page at http://192.168.99.100:4567/cart Mar 5, 2016
skeleton-theme Remove masthead images May 2, 2016
spec move ruby files into lib directory Feb 21, 2016
yaml Don't rely on shopify's metadata May 7, 2016
.gitignore
.ruby-version initial Jan 10, 2016
Gemfile Add livereload May 10, 2016
Gemfile.lock Add livereload May 10, 2016
README.md add note on public assets Feb 20, 2016
Rakefile don't use sinatra public_folder Jan 30, 2016
config.ru Add livereload May 10, 2016

README.md

Goal

To have a local development environment that simulates Shopify.

Links and Add to Cart won't work. Just want to be able to render Shopify liquid files locally (and eventually use livereload/figwheel).

To run server on skeleton-theme (git subtree in this repo)

rake

To run server on your own theme

THEME_PATH=../my-theme rake

(THEME_PATH/{assets,layout,snippets,templates} should exist)

Serve static assets at /public

PUBLIC_DIR=../my-theme/tmp/ rake

To run tests

rake test

See also

You can’t perform that action at this time.