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.