summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEnrico Guiraud2019-12-15 11:14:00 +0100
committerEnrico Guiraud2019-12-20 11:08:40 +0100
commited2a7928865821e687c5a832f436d06b3084605e (patch)
tree047e3f2a9fad21eb6817dbcad74c557aaa0e10ab /docs
parent6733e8ead2c5b6fab78173b181a9fd116526dc49 (diff)
[DOC] Use `npm start`, not `yarn start` to start
`yarn start --production` ignores the `--production` flag, `npm start --production` does not. Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
Diffstat (limited to 'docs')
-rw-r--r--docs/setup/manual-setup.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md
index f12371ed..4aad56a6 100644
--- a/docs/setup/manual-setup.md
+++ b/docs/setup/manual-setup.md
@@ -26,7 +26,7 @@ Manual Installation
- `postgres://username:password@localhost:5432/codimd`
- `mysql://username:password@localhost:3306/codimd`
- `sqlite://:memory:`
-8. It is recommended to start your server manually once: `yarn start --production`, this way it's easier to see warnings or errors that might occur (leave out `--production` for development).
+8. It is recommended to start your server manually once: `npm start --production`, this way it's easier to see warnings or errors that might occur (leave out `--production` for development).
9. Run the server as you like (node, forever, pm2, SystemD, Init-Scripts)
@@ -40,5 +40,5 @@ If you are upgrading CodiMD from an older version, follow these steps:
4. `git pull` or unzip a new release in the directory.
5. Run `bin/setup`. This will take care of installing dependencies. It is safe to run on an existing installation.
6. Build front-end bundle by `yarn run build` (use `yarn run dev` if you are in development).
-7. It is recommended to start your server manually once: `yarn start --production`, this way it's easier to see warnings or errors that might occur (leave out `--production` for development).
+7. It is recommended to start your server manually once: `npm start --production`, this way it's easier to see warnings or errors that might occur (leave out `--production` for development).
8. You can now restart the CodiMD server!