Local setup for Shopify Theme development (work in progress)
- Shopify Theme Kit
- npm
- Command line tool
Theme kit will automatically deploy all theme files to Shopify directly, allowing you to preview live changes. Gulp will watch for changes in local files, then process them and move to directory observed by theme kit.
- Create and navigate to empty directory (root directory)
- either download and extract this repo in root directory,
- or clone this repo in root directory,
- Obtain your Shopify API credentials
- Navigate to
srcdirectory and run the following command:
theme new --password=[your-password] --store=[your-store.myshopify.com] --name=[theme name]
- Move
config.ymlfile fromsrctodistdirectory - In root directory run
npm installcommand - Navigate to
srcdirectory and rungulpcommmand, leave it running - Open additional command line tool instance, navigate to
distdirectory and runtheme watchcommand, leave it running