aboutsummaryrefslogtreecommitdiff
path: root/backend/README.md
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-11 13:19:18 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-11 13:19:18 +1000
commit7a28e15874796b3becf97c0193575d906d0cfd01 (patch)
tree20c679fb7167c18009a697f0d3db7bed1d1b409c /backend/README.md
parent5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d (diff)
Update backend documentation
Diffstat (limited to 'backend/README.md')
-rw-r--r--backend/README.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/backend/README.md b/backend/README.md
index 1823576..fc68183 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -1,9 +1,5 @@
# Files
-- data: Contains scripts for generating the tree-of-life database
-- tilo.py: WSGI script that serves tree-of-life data
-- server.py: Basic dev server that serves a WSGI script
-
-# During development
-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`.
+- **tolData**: Holds scripts for generating the tree-of-life database
+- **tilo.py**: WSGI script that serves data from the tree-of-life database. <br>
+ Note: Using WSGI instead of CGI to avoid starting a new process for each request.
+- **server.py**: Basic dev server that serves the WSGI script and image files