From ccf7b9d43533bee1fc54b56149296af2d03c063b Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Sun, 28 Nov 2021 20:46:46 +0800 Subject: [PATCH] updated requirements of myems-api --- myems-api/requirements.txt | 2 +- web/README.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/myems-api/requirements.txt b/myems-api/requirements.txt index b2db7617..430b7cc9 100644 --- a/myems-api/requirements.txt +++ b/myems-api/requirements.txt @@ -1,7 +1,7 @@ anytree simplejson mysql-connector-python -falcon +falcon==3.0.1 falcon_cors falcon-multipart gunicorn diff --git a/web/README.md b/web/README.md index 01e763f6..4ea41edb 100644 --- a/web/README.md +++ b/web/README.md @@ -57,6 +57,13 @@ In this section, you will install myems-web on Docker. cd myems/web sudo nano src/config.js ``` + +* replace ~~127.0.0.1:8000~~ in nginx.conf with actual **HOST** ip and port of myems-api +```bash +cd myems/web +nano nginx.conf +``` + * Download all the necessary dependencies into the node_modules directory. ```bash sudo npm i --unsafe-perm=true --allow-root --legacy-peer-deps