mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
docs: improve stand-alone upgrade guide (#128)
* Update README.md * docs: improve stand-alone upgrade guide * Update README.md
This commit is contained in:
parent
ca73ccf629
commit
a0d1d98e24
1 changed files with 20 additions and 4 deletions
22
README.md
22
README.md
|
@ -88,11 +88,27 @@ docker compose up -d
|
||||||
|
|
||||||
#### Stand-alone
|
#### Stand-alone
|
||||||
|
|
||||||
1. Remove the running app
|
1. Stop the running app
|
||||||
```
|
```bash
|
||||||
pm2 delete pingvin-share-backend pingvin-share-frontend
|
pm2 stop pingvin-share-backend pingvin-share-frontend
|
||||||
```
|
```
|
||||||
2. Repeat the steps from the [installation guide](#stand-alone-installation) except the `git clone` step.
|
2. Repeat the steps from the [installation guide](#stand-alone-installation) except the `git clone` step.
|
||||||
|
```bash
|
||||||
|
cd pingvin-share
|
||||||
|
|
||||||
|
# Checkout the latest version
|
||||||
|
git fetch --tags && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
|
||||||
|
# Start the backend
|
||||||
|
cd backend
|
||||||
|
npm run build
|
||||||
|
pm2 restart pingvin-share-backend
|
||||||
|
|
||||||
|
# Start the frontend
|
||||||
|
cd ../frontend
|
||||||
|
npm run build
|
||||||
|
pm2 restart pingvin-share-frontend
|
||||||
|
```
|
||||||
|
|
||||||
### Custom branding
|
### Custom branding
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue