From 759c55f62569e3610847e03389a34c00e9c8d270 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Mon, 13 Feb 2023 10:09:53 +0100 Subject: [PATCH] docs: fix remove app before upgrading --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 398b925..1f28b22 100644 --- a/README.md +++ b/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