mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
docs: fix remove app before upgrading
This commit is contained in:
parent
edb511252f
commit
759c55f625
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -45,13 +45,13 @@ cd pingvin-share
|
|||
git fetch --tags && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
|
||||
# Start the backend
|
||||
cd ../backend
|
||||
cd backend
|
||||
npm install
|
||||
npm run build
|
||||
pm2 start --name="pingvin-share-backend" npm -- run prod
|
||||
|
||||
# Start the frontend
|
||||
cd frontend
|
||||
cd ../frontend
|
||||
npm install
|
||||
npm run build
|
||||
pm2 start --name="pingvin-share-frontend" npm -- run start
|
||||
|
@ -88,7 +88,11 @@ docker compose up -d
|
|||
|
||||
#### Stand-alone
|
||||
|
||||
Repeat the steps from the [installation guide](#stand-alone-installation) except the `git clone` step.
|
||||
1. Remove the running app
|
||||
```
|
||||
pm2 delete pingvin-share-backend pingvin-share-frontend
|
||||
```
|
||||
2. Repeat the steps from the [installation guide](#stand-alone-installation) except the `git clone` step.
|
||||
|
||||
## 🖤 Contribute
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue