summaryrefslogtreecommitdiff
path: root/docs/setup/manual-setup.md
diff options
context:
space:
mode:
authorSheogorath2019-10-28 01:12:17 +0100
committerGitHub2019-10-28 01:12:17 +0100
commitd19c8102a384d2ea2585587d51e143f515c3fece (patch)
tree93a2f0f09fe2bc87d8030786d7d304a9a1cf21a0 /docs/setup/manual-setup.md
parent20a67e3446723231961043bffeb5a7b974e891c0 (diff)
parent625f4e336bf3c77e8a7846883dc7d44629c702b4 (diff)
Merge pull request #208 from jfowl/doc-change-to-yarn
Replace `npm` with `yarn` commands in docs.
Diffstat (limited to '')
-rw-r--r--docs/setup/manual-setup.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md
index e15e624a..e13a6f12 100644
--- a/docs/setup/manual-setup.md
+++ b/docs/setup/manual-setup.md
@@ -18,10 +18,10 @@ Manual Installation
3. Enter the directory and type `bin/setup`, which will install npm dependencies and create configs.
4. Setup the configs, see more below
5. Setup environment variables which will overwrite the configs
-6. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
+6. Build front-end bundle by `yarn run build` (use `yarn run dev` if you are in development)
7. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string
For example: `postgres://username:password@localhost:5432/codimd`
-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).
+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).
9. Run the server as you like (node, forever, pm2, SystemD, Init-Scripts)
@@ -34,6 +34,6 @@ If you are upgrading CodiMD from an older version, follow these steps:
3. Fully stop your old CodiMD server.
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 `npm run build` (use `npm run dev` if you are in 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).
+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).
8. You can now restart the CodiMD server!