Skip to content

Commit e4b3845

Browse files
committed
clarify local prod build and tests
1 parent 4911abc commit e4b3845

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ See `./.nvmrc` for the version of NodeJS to install
3636
Open your browser to http://localhost:5173
3737

3838

39-
## Tests
40-
41-
There are automated tests using Playwright.
42-
43-
- run this the first time, to install Playwright dependencies: `npx playwright install`
44-
- `npm run test` to run tests
45-
46-
4739
### Update text
4840

4941
All website text is in `./messages/en.json`.
@@ -62,15 +54,21 @@ There's 1 layout template used for all pages - `./src/routes/+layout.ts`.
6254
There is a variety of reusable components in `./src/lib/components/*.svelte`
6355

6456

65-
## Production Build
57+
## Tests
58+
59+
There are automated tests using Playwright.
60+
61+
- run this the first time, to install Playwright dependencies: `npx playwright install`
62+
- `npm run test` to run tests
63+
6664

67-
To create a production version of your app:
65+
## Production build
6866

69-
```bash
70-
npm run build
71-
```
67+
To create a *local* production version of your app:
7268

73-
You can preview the production build with `npm run preview`.
69+
1. `npm run build`
70+
1. `npm run preview`
71+
1. open http://localhost:4137
7472

7573

7674
## Redirects

0 commit comments

Comments
 (0)