mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 01:13:08 +02:00
Use yarn instead of npm
This commit is contained in:
parent
6e042ca344
commit
b3e5198f23
4 changed files with 8 additions and 8 deletions
|
@ -637,7 +637,7 @@ mongodb:
|
||||||
db: misskey
|
db: misskey
|
||||||
```
|
```
|
||||||
3. migration ブランチに切り替え
|
3. migration ブランチに切り替え
|
||||||
4. `npm i`
|
4. `npx yarn install`
|
||||||
5. `npm run build`
|
5. `npm run build`
|
||||||
6. `npm run migrate`
|
6. `npm run migrate`
|
||||||
7. master ブランチに戻す
|
7. master ブランチに戻す
|
||||||
|
|
|
@ -50,7 +50,7 @@ Please install and setup these softwares:
|
||||||
|
|
||||||
5. Install misskey dependencies.
|
5. Install misskey dependencies.
|
||||||
|
|
||||||
`npm install`
|
`npx yarn install`
|
||||||
|
|
||||||
*4.* Configure Misskey
|
*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
|
### How to update your Misskey server to the latest version
|
||||||
1. `git checkout master`
|
1. `git checkout master`
|
||||||
2. `git pull`
|
2. `git pull`
|
||||||
3. `npm install`
|
3. `npx yarn install` or `yarn install`
|
||||||
4. `NODE_ENV=production npm run build`
|
4. `NODE_ENV=production npm run build`
|
||||||
5. `npm run migrate`
|
5. `npm run migrate`
|
||||||
6. Restart your Misskey process to apply changes
|
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:
|
If you encounter any problems with updating, please try the following:
|
||||||
1. `npm run clean` or `npm run cleanall`
|
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`)
|
||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ Installez les paquets suivants :
|
||||||
|
|
||||||
5. Installez les dépendances de misskey.
|
5. Installez les dépendances de misskey.
|
||||||
|
|
||||||
`npm install`
|
`npx yarn install`
|
||||||
|
|
||||||
*4.* Création du fichier de configuration
|
*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
|
### Méthode de mise à jour vers la plus récente version de Misskey
|
||||||
1. `git checkout master`
|
1. `git checkout master`
|
||||||
2. `git pull`
|
2. `git pull`
|
||||||
3. `npm install`
|
3. `npx yarn install`
|
||||||
4. `NODE_ENV=production npm run build`
|
4. `NODE_ENV=production npm run build`
|
||||||
5. `npm run migrate`
|
5. `npm run migrate`
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ adduser --disabled-password --disabled-login misskey
|
||||||
|
|
||||||
5. Misskeyの依存パッケージをインストール
|
5. Misskeyの依存パッケージをインストール
|
||||||
|
|
||||||
`npm install`
|
`npx yarn install`
|
||||||
|
|
||||||
*4.* 設定ファイルを作成する
|
*4.* 設定ファイルを作成する
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
@ -131,7 +131,7 @@ npm run init
|
||||||
### Misskeyを最新バージョンにアップデートする方法:
|
### Misskeyを最新バージョンにアップデートする方法:
|
||||||
1. `git checkout master`
|
1. `git checkout master`
|
||||||
2. `git pull`
|
2. `git pull`
|
||||||
3. `npm install`
|
3. `npx yarn install`
|
||||||
4. `NODE_ENV=production npm run build`
|
4. `NODE_ENV=production npm run build`
|
||||||
5. `npm run migrate`
|
5. `npm run migrate`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue