diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-09 03:20:53 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-09 04:36:52 +1000 |
| commit | 5569c8191ae02f109254282b5943e3ed40032018 (patch) | |
| tree | 0ec5c2f6176c470aaeaa41be9bfbb0825554b764 /backend/README.md | |
| parent | 347f5127929b17671c75734af5a374ec4f39b5ae (diff) | |
Replace CGI script with WSGI script and dev server
Diffstat (limited to 'backend/README.md')
| -rw-r--r-- | backend/README.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/backend/README.md b/backend/README.md index 3a56f76..358ed72 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,8 +1,9 @@ # Files -- cgi-bin/data.py: CGI script for providing tree-of-life data to client +- server.py: Basic dev server that serves a WSGI script +- tilo.py: WSGI script that serves tree-of-life data - data: Contains scripts for generating the tree-of-life database # During development -Having generated the database as data/data.db, running `python3 -m http.server --cgi 8000`, -in this directory, allows the client to access the CGI script, and hence the database, -via `localhost:8000/cgi-bin/data.py`. +Having generated the database as data/data.db, running `server.py`, +in this directory, allows the client to access data from `tilo.py`, +via `localhost:8000`. |
