Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Latest commit

 

History

History
41 lines (24 loc) · 2.17 KB

store-configuration.md

File metadata and controls

41 lines (24 loc) · 2.17 KB

Store / Environment Configuration Tips

Knowing what to put in your config.yml isn't always straightforward. This guide aims to clarify what data is needed, and where to get it.

Note: ThemeKit is the tool that powers Slate deploys. See it's configuration variables documentation for more details.

config.yml environment properties

  • store: the shopify-specifc URL for this store/ environment (ie. my-store.myshopify.com).
  • theme_id: the unique id for the theme you want to write to when deploying to this store / environment
  • password: the password generated via a private app on this store / environment (necessary for API access)

Finding your theme_id

warning: some commands (start, deploy) will overwrite the existing code on this theme_id with empty boilerplate. To avoid losing work, we suggest you go to /admin/themes and duplicate an existing theme to work from.

Go to your store's /admin/themes.xml, and copy the id for the theme you would like to update:

https://screenshot.click/17-02-w0fw2-zczky.png

https://screenshot.click/17-04-mng8o-k9da8.png

alternatively, you can set the theme_id to "live" to update the published theme

Generating your password

Navigate to your store's private apps page (/admin/apps/private).

https://screenshot.click/17-06-j9e9m-n2jxa.png

Create a new private app and copy the password:

https://screenshot.click/17-07-u19kf-rx53b.png

Assign the private app permissions to "Read and Write" for theme templates and theme assets:

https://screenshot.click/17-09-owv1p-5lugl.png