aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-22 11:32:28 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-22 12:11:59 +1100
commit436dd015471cbdea443cfd98536e55e683833c48 (patch)
treef833560544264855f1e0f22e830bbbd17dc51c28 /backend
parent7348360fead15f85f368d4d4d248e41aa4a2f4f2 (diff)
Add deployment docs and script
Add DEPLOY.md and prebuild.sh Update READMEs Change project name
Diffstat (limited to 'backend')
-rw-r--r--backend/README.md2
-rwxr-xr-xbackend/chrona.py (renamed from backend/histplorer.py)0
-rwxr-xr-xbackend/server.py2
3 files changed, 2 insertions, 2 deletions
diff --git a/backend/README.md b/backend/README.md
index cffbb81..6c7db61 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -1,6 +1,6 @@
# Files
- `hist_data/`: Holds scripts for generating the history database and images
-- `histplorer.py`: WSGI script that serves data from the history database
+- `chrona.py`: WSGI script that serves data from the history database
- `server.py`: Basic dev server that serves the WSGI script and image files
- `tests/`: Holds unit testing scripts <br>
Running all tests: `python -m unittest discover -s tests` <br>
diff --git a/backend/histplorer.py b/backend/chrona.py
index cd9a0be..cd9a0be 100755
--- a/backend/histplorer.py
+++ b/backend/chrona.py
diff --git a/backend/server.py b/backend/server.py
index 5c3904a..d03215c 100755
--- a/backend/server.py
+++ b/backend/server.py
@@ -8,7 +8,7 @@ from typing import Iterable
import os
from wsgiref import simple_server, util
import mimetypes
-from histplorer import application
+from chrona import application
import argparse
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)