From f635f2bd58322afaa1a05c481fc57c80998f5a85 Mon Sep 17 00:00:00 2001 From: Sander van den Hoek Date: Tue, 26 Nov 2024 16:41:49 +0100 Subject: [PATCH] updated docs to use `yarn dev` instead of `yarn serve` --- docs/molgenis/dev_apps.md | 4 ++-- docs/molgenis/dev_quickstart.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/molgenis/dev_apps.md b/docs/molgenis/dev_apps.md index 76f6d0605d..8fe955fcc1 100644 --- a/docs/molgenis/dev_apps.md +++ b/docs/molgenis/dev_apps.md @@ -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 diff --git a/docs/molgenis/dev_quickstart.md b/docs/molgenis/dev_quickstart.md index cd21f9810b..b67baa0b0b 100644 --- a/docs/molgenis/dev_quickstart.md +++ b/docs/molgenis/dev_quickstart.md @@ -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) @@ -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 - yarn serve + cd molgenis-emx2/apps/ + yarn dev ``` Typically the app is then served at http://localhost:9090 (look at the console to see actual port number)