mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
docs: stand-alone installation start backend first
This commit is contained in:
parent
8720232755
commit
2a826f7941
1 changed files with 6 additions and 6 deletions
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 🐧!
|
||||||
|
|
Loading…
Add table
Reference in a new issue