From 294c211be1b69a4fdc083363e493e7d2cddbe7a6 Mon Sep 17 00:00:00 2001 From: Jamie Hall Date: Tue, 15 Nov 2022 13:04:37 +0000 Subject: [PATCH] Installation changes Slight change to the way the first time setup is done to match the new CLI update for new users. https://shopify.dev/themes/tools/cli --- docs/guide/getting-started.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 359951b..482cc9b 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -18,13 +18,7 @@ If you're the owner of the development store, then you need to log in to the store using the store URL at least once (for example, using your-store.myshopify.com/admin) before you can start using the Shopify CLI. ::: -4. Log into your development store through the Shopify CLI. - -```sh -shopify login --store -``` - -5. Clone the Shopify Theme Lab repo or simply use the Shopify CLI. +4. Clone the Shopify Theme Lab repo or simply use the Shopify CLI. @@ -44,14 +38,14 @@ git clone "https://github.com/uicrooks/shopify-theme-lab.git" shopify-theme-lab -6. Install dependencies and run the `start` task. +5. Install dependencies and run the `start` task. ```sh npm install -npm run start +npm run start --store ``` @@ -60,12 +54,16 @@ npm run start ```sh yarn install -yarn start +yarn start --store ``` +::: tip +You will be prompted the first time you deploy this command to login to your shopify partner account. Press any key when prompted in the terminal to open the login page. +::: + 7. Open the development URL provided by the Shopify CLI. You may need to enter the store password before you can continue. ## Structure @@ -114,4 +112,4 @@ shopify-theme-lab/ 📁 root of your Shopify Theme Lab project | fix | same as `lint` task but also fixes any fixable errors | | fix:js | same as `lint:js` task but also fixes any fixable errors | | fix:css | same as `lint:css` task but also fixes any fixable errors | -| fix:shopify | same as `lint:shopify` task but also fixes any fixable errors | \ No newline at end of file +| fix:shopify | same as `lint:shopify` task but also fixes any fixable errors |