Use yarn instead of npm

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-07-14 10:04:52 +09:00
parent e21a6f97bc
commit 493cb62789
4 changed files with 8 additions and 8 deletions

View File

@ -637,7 +637,7 @@ mongodb:
db: misskey
```
3. migration ブランチに切り替え
4. `npm i`
4. `npx yarn install`
5. `npm run build`
6. `npm run migrate`
7. master ブランチに戻す

View File

@ -50,7 +50,7 @@ Please install and setup these softwares:
5. Install misskey dependencies.
`npm install`
`npx yarn install`
*4.* Configure Misskey
----------------------------------------------------------------
@ -130,7 +130,7 @@ You can check if the service is running with `systemctl status misskey`.
### How to update your Misskey server to the latest version
1. `git checkout master`
2. `git pull`
3. `npm install`
3. `npx yarn install` or `yarn install`
4. `NODE_ENV=production npm run build`
5. `npm run migrate`
6. Restart your Misskey process to apply changes
@ -138,7 +138,7 @@ You can check if the service is running with `systemctl status misskey`.
If you encounter any problems with updating, please try the following:
1. `npm run clean` or `npm run cleanall`
2. Retry update (Don't forget `npm i`)
2. Retry update (Don't forget `npx yarn install` or `yarn install`)
----------------------------------------------------------------

View File

@ -50,7 +50,7 @@ Installez les paquets suivants :
5. Installez les dépendances de misskey.
`npm install`
`npx yarn install`
*4.* Création du fichier de configuration
----------------------------------------------------------------
@ -124,7 +124,7 @@ Vous pouvez vérifier si le service a démarré en utilisant la commande `system
### Méthode de mise à jour vers la plus récente version de Misskey
1. `git checkout master`
2. `git pull`
3. `npm install`
3. `npx yarn install`
4. `NODE_ENV=production npm run build`
5. `npm run migrate`

View File

@ -51,7 +51,7 @@ adduser --disabled-password --disabled-login misskey
5. Misskeyの依存パッケージをインストール
`npm install`
`npx yarn install`
*4.* 設定ファイルを作成する
----------------------------------------------------------------
@ -131,7 +131,7 @@ npm run init
### Misskeyを最新バージョンにアップデートする方法:
1. `git checkout master`
2. `git pull`
3. `npm install`
3. `npx yarn install`
4. `NODE_ENV=production npm run build`
5. `npm run migrate`