From eb9659e983381a16ff14e53b2c9184ac94b7d9a6 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 23 Aug 2019 22:04:16 +0900 Subject: [PATCH] Use rsync to deploy frontend content to nginx folder --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 247ecec6d..994fd835b 100644 --- a/README.md +++ b/README.md @@ -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