Use rsync to deploy frontend content to nginx folder

This commit is contained in:
wiz 2019-08-23 22:04:16 +09:00
parent 72a5c38515
commit eb9659e983
No known key found for this signature in database
GPG key ID: A394E332255A6173

View file

@ -145,12 +145,12 @@ Make sure you can access https://example.com/ in browser before proceeding
## 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/
npm run build
cp -r dist/mempool/* /var/www/html/
sudo rsync -av --delete dist/mempool/ /var/www/html/
```
## try it out