shopifyで開発環境を構築する

ネットショップ運営者には不要です。制作者向け。

chocolateyをインストール

参照

https://qiita.com/kangetsu121/items/b6352b547cd32e71bc65

Shopify Theme Kitをインストール

プライベートアプリを作成

https://hon-dana.org/online-shop/shopify-theme-kit/
https://www.shopify.com/jp/blog/partner-local-shopify-theme-setup-three-steps

流れ
https://ludius.co.jp/post-375/

Theme Kit コマンド

テーマのID一覧
theme get –list -p=your-api-password -s=you-store.myshopify.com

ブラウザでテーマを開く
theme open

テーマのカスタマイズ画面を開く
theme open -E

リアルタイムに変更をアップロードする(キャンセルはControl + c)
theme watch

テーマをダウンロード
theme download

開発環境だけにデプロイする
theme deploy –env=development

本番環境だけにデプロイする
theme deploy –env=production

全てのファイルをアップする
theme deploy

config.ymlで設定してある全ての環境にアップする
theme deploy -a

テーマをはじめから作るとき
theme new –password=[your-password] –store=[your-store.myshopify.com] –name="New Blank Theme"

未分類

Posted by kineom