Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
add production env to config (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanPJF authored Apr 19, 2017
1 parent 56ac894 commit fd17716
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion config-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".
<img src="{{ "/assets/images/app-permission.jpg" | prepend: site.baseurl }}" alt="Private app permission requirements" class="demo-image demo-image--app">
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.
<img src="{{ "/assets/images/theme-id.png" | prepend: site.baseurl }}" alt="Private app credentials" class="demo-image demo-image--app">
* **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.
<img src="{{ "/assets/images/app-credentials.jpg" | prepend: site.baseurl }}" alt="Private app credentials" class="demo-image demo-image--app">
Expand Down

0 comments on commit fd17716

Please sign in to comment.