Skip to content

Commit

Permalink
Update quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
ixkaito committed Jan 19, 2024
1 parent c0c6a93 commit 52f4afd
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions src/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ slug: index
cd /path/to/bathe
```

### 4. Install dependencies
### 4. Install Node.js dependencies

```shell
npm install
Expand All @@ -132,11 +132,30 @@ Or with [yarn](https://classic.yarnpkg.com/en/):
yarn
```

### 5. Modify the `proxy` of browsersync in `package.json` for your environment
### 5. Install Composer packages (Optional)

```shell
composer install
```

### 6. Modify the `proxy` of browsersync in `package.json` for your environment

The default `proxy` is `localhost:8888` for [wp-env](https://developer.wordpress.org/block-editor/packages/packages-env/).

### 6. Start developing
For example:

```json
{
...
"browsersync": {
"proxy": "your-site.local",
"port": 3000
},
...
}
```

### 7. Start developing

```shell
npm run dev
Expand Down

0 comments on commit 52f4afd

Please sign in to comment.