Add Rebuild Option [CI Skip]
This commit is contained in:
parent
8a7da9eaa0
commit
785ace95a4
2 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,7 @@ cp -r ../misskey/files . # if you don't use object storage
|
||||||
```sh
|
```sh
|
||||||
# git pull
|
# git pull
|
||||||
yarn install
|
yarn install
|
||||||
NODE_ENV=production yarn run build && yarn run migrate
|
NODE_ENV=production yarn run rebuild && yarn run migrate
|
||||||
pm2 start "NODE_ENV=production yarn start" --name Calckey
|
pm2 start "NODE_ENV=production yarn start" --name Calckey
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
],
|
],
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"rebuild": "yarn clean && yarn build",
|
||||||
"build": "yarn workspaces foreach run build && yarn run gulp",
|
"build": "yarn workspaces foreach run build && yarn run gulp",
|
||||||
"start": "yarn workspace backend run start",
|
"start": "yarn workspace backend run start",
|
||||||
"start:test": "yarn workspace backend run start:test",
|
"start:test": "yarn workspace backend run start:test",
|
||||||
|
|
Loading…
Reference in a new issue