docs: stand-alone installation start backend first
This commit is contained in:
12
README.md
12
README.md
@@ -44,17 +44,17 @@ cd pingvin-share
|
|||||||
# Checkout the latest version
|
# Checkout the latest version
|
||||||
git fetch --tags && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
git fetch --tags && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
|
||||||
# Start the frontend
|
|
||||||
cd frontend
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
pm2 start npm --name="pingvin-share-frontend" -- run start
|
|
||||||
|
|
||||||
# Start the backend
|
# Start the backend
|
||||||
cd ../backend
|
cd ../backend
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
pm2 start --name="pingvin-share-backend" npm -- run prod
|
pm2 start --name="pingvin-share-backend" npm -- run prod
|
||||||
|
|
||||||
|
# Start the frontend
|
||||||
|
cd frontend
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
pm2 start --name="pingvin-share-frontend" npm -- run start
|
||||||
```
|
```
|
||||||
|
|
||||||
The website is now listening available on `http://localhost:3000`, have fun with Pingvin Share 🐧!
|
The website is now listening available on `http://localhost:3000`, have fun with Pingvin Share 🐧!
|
||||||
|
|||||||
Reference in New Issue
Block a user