Skip to content

Commit a3e865d

Browse files
committed
Add script for starting against the proxy and update description
1 parent 2963a6e commit a3e865d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ To get started developing, make sure to have Node.js and npm available and insta
1212
npm install
1313
```
1414

15+
To start the development server against a [local backend stack](https://github.com/ProjectLighthouseCAU/infrastructure/tree/main/local), run
16+
17+
```sh
18+
npm start
19+
```
20+
1521
To run the CORS proxy against the staging API, run
1622

1723
```sh
1824
npm run cors-proxy:staging
1925
```
2026

21-
To start the development server, run
27+
You can then start the development server against the staging proxy via
2228

2329
```sh
24-
npm start
30+
npm run start:staging-proxy
2531
```
2632

2733
> [!TIP]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"scripts": {
2727
"start": "craco start",
2828
"start:legacy": "env-cmd -f .env.legacy craco start",
29+
"start:staging-proxy": "env-cmd -f .env.staging-proxy craco start",
2930
"build": "craco build",
3031
"build:development": "env-cmd -f .env.development craco build",
3132
"build:staging": "env-cmd -f .env.staging craco build",

0 commit comments

Comments
 (0)