Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 13, 2024
1 parent 71e7a44 commit a051af1
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ For local development:
> npm run dev
```

To build an optimized package, use
This runs the frontend with the development backend URLs.

To use production backend URLs instead:

```
> npm run dev:be-prod
```

To build an optimized package with development or production backend, use respectively

```
> npm run build
> npm run build:be-dev
> npm run build:be-prod
```

Preview locally with
Preview either locally with

```
> npm run preview
Expand All @@ -29,5 +38,7 @@ The following branches are automatically deployed via Github actions in the foll

- `main`
- deployed to https://materialscloud-org.github.io/discover-mc2d-react/
- and is running on the production backend.
- `develop`
- deployed to https://materialscloud-org.github.io/discover-mc2d-react/develop
- and is running on the dev backend.

0 comments on commit a051af1

Please sign in to comment.