Skip to content

Commit

Permalink
update them files and docs with correct path after getting-started di…
Browse files Browse the repository at this point in the history
…rectory update
  • Loading branch information
jontallboy committed Jun 22, 2024
1 parent 0045e2f commit d66f9ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ git clone https://github.com/HubSpot/cms-react.git
CMS React projects have a 3 significant directories:

- `getting-started-project`: The HubSpot project directory that gets uploaded via the Projects system to build and deploy your CMS React code found in the `/src` directory.
- `getting-started-project/src`: A package inside your project directory containing all your assets, styles, components, modules, islands, and any local development tooling you need, such as ESLint, Prettier, TypeScript, etc.
- `getting-started-project/getting-started-app`: A package inside your project directory containing all your assets, styles, components, modules, islands, and any local development tooling you need, such as ESLint, Prettier, TypeScript, etc.
- `getting-started-theme`: This is where your HubL templates and theme configuration lives.

At the root of this example, you will configure any local dev tooling you want, such as ESLint, Prettier, TypeScript, etc.
Expand All @@ -41,7 +41,7 @@ This will install all the local development tooling you need, including `@hubspo

### 3. Local Development

To run this example project locally, navigate to the `getting-started-project/src` directory and run:
To run this example project locally, navigate to the `getting-started-project/getting-started-app` directory and run:

```bash
npm run start
Expand Down
4 changes: 2 additions & 2 deletions examples/getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"yarpm": "^1.2.0"
},
"scripts": {
"start": "cd getting-started-project/src && yarpm start",
"postinstall": "cd getting-started-project/src && yarpm install",
"start": "cd getting-started-project/getting-started-app && yarpm start",
"postinstall": "cd getting-started-project/getting-started-app && yarpm install",
"lint:js": "eslint . --ext .js,.jsx",
"prettier": "prettier . --check",
"watch:hubl": "hs watch getting-started-theme getting-started-theme",
Expand Down

0 comments on commit d66f9ac

Please sign in to comment.