Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your-store.myshopify.com>
```

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.

<CodeGroup>
<CodeGroupItem title="Shopify CLI" active>
Expand All @@ -44,14 +38,14 @@ git clone "https://github.com/uicrooks/shopify-theme-lab.git" shopify-theme-lab
</CodeGroupItem>
</CodeGroup>

6. Install dependencies and run the `start` task.
5. Install dependencies and run the `start` task.

<CodeGroup>
<CodeGroupItem title="NPM" active>

```sh
npm install
npm run start
npm run start --store
```

</CodeGroupItem>
Expand All @@ -60,12 +54,16 @@ npm run start

```sh
yarn install
yarn start
yarn start --store
```

</CodeGroupItem>
</CodeGroup>

::: 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
Expand Down Expand Up @@ -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 |
| fix:shopify | same as `lint:shopify` task but also fixes any fixable errors |