Skip to content

Commit

Permalink
updated docs to use yarn dev instead of yarn serve (#4519)
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhoek authored Nov 28, 2024
1 parent 4fa0010 commit 4d1081e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/molgenis/dev_apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ In the apps folder, there are several core frontend applications (e.g., settings
docker-compose up
```

The `/api` and `/graphql` paths are proxied as defined in the dev-proxy.config.js. In order to preview individual apps, use yarn serve. For example, to preview the app `apps/schema`, run the following command.
The `/api` and `/graphql` paths are proxied as defined in the dev-proxy.config.js. In order to preview individual apps, use `yarn dev`. For example, to preview the app `apps/schema`, run the following command.

```bash
cd apps/schema
yarn serve
yarn dev
```

## Deploying your application
Expand Down
6 changes: 3 additions & 3 deletions docs/molgenis/dev_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Requires postgresql, gradle and [yarn 1.x](https://yarnpkg.com/)

* Build the app workspace as a whole (once)
```console
cd apps
cd molgenis-emx2/apps
yarn install
```
* Start molgenis 'headless' (i.e. without apps) using gradle (restart on java changes)
Expand All @@ -82,8 +82,8 @@ Requires postgresql, gradle and [yarn 1.x](https://yarnpkg.com/)
You can verify that it's running by looking at http://localhost:8080
* Serve only the app you want to look at
```console
cd <yourapp>
yarn serve
cd molgenis-emx2/apps/<yourapp>
yarn dev
```
Typically the app is then served at http://localhost:9090 (look at the console to see actual port number)

Expand Down

0 comments on commit 4d1081e

Please sign in to comment.