From 7a28e15874796b3becf97c0193575d906d0cfd01 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 11 Jul 2022 13:19:18 +1000 Subject: Update backend documentation --- backend/README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'backend/README.md') 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.
+ 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 -- cgit v1.2.3