Use rsync to deploy frontend content to nginx folder
This commit is contained in:
1 parent
6e3bd703f3
commit
5c28206c02
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user