diff --git a/config-sample.yml b/config-sample.yml index 6b83fb658..de6b83b02 100644 --- a/config-sample.yml +++ b/config-sample.yml @@ -15,6 +15,12 @@ development: password: - theme_id: "live" + theme_id: store: your-shop.myshopify.com ignore_files: + +production: + password: + theme_id: "live" + store: your-shop.myshopify.com + ignore_files: \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index bbb48e2bb..807f091f6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -20,9 +20,9 @@ Slate allows you to sync local files with your live shop, deploy to multiple env * Not sure how to create a private app? [Learn how here](https://help.shopify.com/api/guides/api-credentials#get-credentials-through-the-shopify-admin). * Set the "Theme templates and theme assets" permission to "Read and write". Private app permission requirements -4. Rename `config-sample.yml` to `config.yml` and add your private app credentials. +4. Rename `config-sample.yml` to `config.yml` and add your store information and private app credentials: * **store:** the Shopify-specific 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. You can find this information in the URL of the theme's online editor at Shopify [admin/themes](https://shopify.com/admin/themes). Alternatively, you can use `"live"` for the published theme. + * **theme_id:** the unique id for the theme you want to write to when deploying to this store. You can find this information in the URL of the theme's online editor at Shopify [admin/themes](https://shopify.com/admin/themes). Alternatively, you can use `"live"` as shorthand for the published theme. Private app credentials * **password:** the password generated via a private app on this store. Access this information on your Shopify [admin/apps/private](https://shopify.com/admin/apps/private) page. Private app credentials