From a4b4ebd80c2c94d7e14eee18a9928f63d653efc9 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 8 May 2021 10:08:21 +0200 Subject: Docs: Add mention to install devDependencies Before `yarn build` can be succesfully run, we need to install the devDependencies. This is necessary, because `bin/setup` does not install the devDependencies… Signed-off-by: Philip Molares --- docs/content/setup/manual-setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/content') diff --git a/docs/content/setup/manual-setup.md b/docs/content/setup/manual-setup.md index bbd73f79..f3ce3702 100644 --- a/docs/content/setup/manual-setup.md +++ b/docs/content/setup/manual-setup.md @@ -34,7 +34,7 @@ It's also possible to use environment variables. For details, have a look at [the configuration documentation](../configuration.md). 5. *:octicons-light-bulb-16: If you use the release tarball for 1.7.0 or newer, this step can be skipped.* - Build the frontend bundle by running `yarn run build`. + Build the frontend bundle by running `yarn install` and then `yarn build`. The extra `yarn install` is necessary as `bin/setup` does not install the build dependencies. 6. It is recommended to start your server manually once: ```shell NODE_ENV=production yarn start @@ -61,7 +61,7 @@ If you want to upgrade HedgeDoc from an older version, follow these steps: If you use Git, you can check out the new tag with e.g. `git fetch origin && git checkout 1.8.1` 5. Run `bin/setup`. This will take care of installing dependencies. It is safe to run on an existing installation. 6. *:octicons-light-bulb-16: If you used the release tarball for 1.7.0 or newer, this step can be skipped.* - Build the frontend bundle by running `yarn run build`. + Build the frontend bundle by running `yarn install` and `yarn build`. The extra `yarn install` is necessary as `bin/setup` does not install the build dependencies. 7. It is recommended to start your server manually once: ```shell NODE_ENV=production yarn start -- cgit v1.2.3