From 3836db406872d2365784951fed139ab693c60972 Mon Sep 17 00:00:00 2001 From: "jerry.liang" <8124783+nianiaJR@users.noreply.github.com> Date: Mon, 13 Sep 2021 23:30:11 +0800 Subject: [PATCH] docs: update add production deploy details --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6851cd51..d580e79b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ Nebula Graph Dashboard is a tool that assists Nebula Graph in daily service moni ![](introduction.png) +## Architecture +![](./architecture.png) + ## Deploy in Production If you plan to set up dashboard in production, refer to:[production guide](DEPLOY.md) @@ -83,7 +86,6 @@ If you plan to set up dashboard in production, refer to:[production guide](DEP ``` 5. Start `nebula-graph-dashboard` - - Modify nebula-graph connection setting: `./static/custom.json` ``` connection: { @@ -92,13 +94,18 @@ If you plan to set up dashboard in production, refer to:[production guide](DEP }, ``` - Start + If you want to deploy in development mode, do this way: ``` $ npm install $ npm run dev ``` - -## Architecture -![](./architecture.png) + If you want to deploy in production mode, do this way: + ``` + $ npm install + $ npm run build + $ npm run tsc + $ npm run start // if you want to stop, exec `npm run stop` + ``` ## Documentation