aboutsummaryrefslogtreecommitdiff
path: root/backend/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'backend/README.md')
-rw-r--r--backend/README.md9
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`.