Skip to content

High performance self-hosted photo and video management solution.

docs: use `npm` in README (#9566)

Robert Schäfer6b369e84fcad
diff --git a/docs/README.md b/docs/README.md
index 0c6c2c27be..cdf0733949 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -5,13 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
### Installation
```
-$ yarn
+$ npm install
```
### Local Development
```
-$ yarn start
+$ npm run start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
@@ -19,7 +19,7 @@ This command starts a local development server and opens up a browser window. Mo
### Build
```
-$ yarn build
+$ npm run build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
@@ -29,13 +29,13 @@ This command generates static content into the `build` directory and can be serv
Using SSH:
```
-$ USE_SSH=true yarn deploy
+$ USE_SSH=true npm run deploy
```
Not using SSH:
```
-$ GIT_USER=<Your GitHub username> yarn deploy
+$ GIT_USER=<Your GitHub username> npm run deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.