Skip to content

Commit

Permalink
docs: add details for npm install for running composable starter loca…
Browse files Browse the repository at this point in the history
…lly (#178)
  • Loading branch information
field123 authored Jan 24, 2024
1 parent 77230a3 commit fce362c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Configurations",
"position": 3,
"position": 4,
"link": {
"type": "generated-index",
"description": "Composable starter storefront configuration options"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,32 @@ Once you've selected your configuration, the Composable CLI will create a new di

The Composable Starter app is built on top of [Next.js](https://nextjs.org/). Your local developer experience will be the same as any Next.js app. To learn more about Next.js, see the [Next.js documentation](https://nextjs.org/docs).

If it's the first time your running a composable starter project, don't forget to **install your dependencies** by running the following command **from your project directory**:

<Tabs>
<TabItem value="npm" label="NPM">

```bash
npm install
```

</TabItem>
<TabItem value="pnpm" label="PNPM">

```bash
pnpm install
```

</TabItem>
<TabItem value="yarn" label="YARN">

```bash
yarn install
```

</TabItem>
</Tabs>

To run your storefront locally, run the following command **from your project directory**:

<Tabs>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 5
title: Troubleshooting
---

Expand Down

0 comments on commit fce362c

Please sign in to comment.