本地机器上的 Shopify 主题套件

Shopify Theme Kit on local machine

说真的,你是如何让 this 工作的?

我已经在我的 OSX 10.11.16 的根目录中安装了 theme 然后到我的 bash_profile:

export PATH="~/.themekit:$PATH"

重新启动了我的终端,theme 给了我一些命令,所以我认为一切正常。没有?

在我想要工作的目录中,我创建了一个 config.yml 文件:

development:
  theme_id: 123456
  store: demo.myshopify.com
  password: f821e54-SOMEPASSWORD-4ed1b82ed1
  bucket_size: 40
  refill_rate: 2
  concurrency: 2

我从私人应用程序的身份验证部分获得的密码。命令 theme download 给我这个:

----------------------------------------------------------------
[ThemeKit - Shopify Theme Utilities v0.4.2 Author: Chris Saunders]
----------------------------------------------------------------

2016/08/19 15:12:35 Server responded with HTTP 403; please check your credentials.

password 是正确的。 100% 正确。此实用程序有更新吗?你如何让它工作?错过了一步吗?

我正在根据评论做出回答,以防其他人遇到此问题。

权限更新现在区分您允许每个私人应用程序的访问类型。

需要 ThemeKit 或 您的 Shopify 主题才能在 Theme templates and theme assets 上使用 读写 计数。

关于此事的 Shopify 文档相当薄弱,但也不言自明。 Here's 不同范围的细分。