aboutsummaryrefslogtreecommitdiff
path: root/readme_en.md
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-17 20:10:30 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-17 20:10:30 +0100
commitc002fd2381d0c3d19f5f90bf589f9d50ef3b5316 (patch)
treeafe9c460fea2964c61911c39409f9b9c17953d72 /readme_en.md
parentd914e781f0364de612a22313e3219e2cda635776 (diff)
readme update
Diffstat (limited to 'readme_en.md')
-rw-r--r--readme_en.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/readme_en.md b/readme_en.md
index 34bba27..c1f2315 100644
--- a/readme_en.md
+++ b/readme_en.md
@@ -99,14 +99,18 @@ python3 api/main.py
# term 2
yarn dev
+
+# term 3
+
+sudo nginx -c $PWD/nginx.conf # this only works on unix (i'm going to test on windows later)
```
## How to test API endpoints
```sh
# If you're running the standalone flask server:
-curl http://localhost:5000/api/<endpoint>
+curl http://localhost:5000/<endpoint>
-# If you're running flask and react at the same time:
-curl http://localhost:3000/api/<endpoint>
+# If you're running flask and nginx at the same time:
+curl http://localhost:2080/api/<endpoint>
```