mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Use rsync to deploy frontend content to nginx folder
This commit is contained in:
parent
72a5c38515
commit
eb9659e983
1 changed files with 2 additions and 2 deletions
|
@ -145,12 +145,12 @@ Make sure you can access https://example.com/ in browser before proceeding
|
||||||
|
|
||||||
## mempool frontend
|
## mempool frontend
|
||||||
|
|
||||||
Build the frontend static HTML/CSS/JS, copy output into nginx folder:
|
Build the frontend static HTML/CSS/JS, rsync the output into nginx folder:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd frontend/
|
cd frontend/
|
||||||
npm run build
|
npm run build
|
||||||
cp -r dist/mempool/* /var/www/html/
|
sudo rsync -av --delete dist/mempool/ /var/www/html/
|
||||||
```
|
```
|
||||||
|
|
||||||
## try it out
|
## try it out
|
||||||
|
|
Loading…
Add table
Reference in a new issue