From f010e734976df8eb2af42c37c7acd76f557a113c Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Tue, 17 Oct 2023 22:22:39 +0800 Subject: [PATCH] update readme --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0bae6587..75983d9e 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,21 @@ # Data Frontend -## Setup domain +### Installation -Modify the host file, like `/etc/hosts`, add this line: +Install `yarn` + +### Build ``` -127.0.0.1 chat.local.zhishuyun.com +yarn ``` -Then save it. - -### Generate certs - -Run below command to generate certs: - -``` -yarn run init:https -``` - -Then install the `.crt` file and trust it. - ### Start server Run below command to start local server: ``` -sudo yarn start +yarn start ``` -Then open `https://chat.local.zhishuyun.com` to view the content. +Then open `http://localhost:8080/chat/conversation` to view the content.