aboutsummaryrefslogtreecommitdiff
path: root/backend/tolData/pickedImgs/README.md
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-11 01:54:08 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-11 01:54:08 +1000
commit5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d (patch)
tree3b8b9d7299540a812ec93e224f8fc71249a98860 /backend/tolData/pickedImgs/README.md
parenta8f80a02b88055cfcb45664ce3a3d24c2b2da98c (diff)
Make backend dev server script serve the image files
Previously, image files in backend/data/img were moved to, or symlinked from, public/. This needed to be changed before each build, otherwise vite would end up copying gigabytes of images.
Diffstat (limited to 'backend/tolData/pickedImgs/README.md')
-rw-r--r--backend/tolData/pickedImgs/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/tolData/pickedImgs/README.md b/backend/tolData/pickedImgs/README.md
new file mode 100644
index 0000000..dfe192b
--- /dev/null
+++ b/backend/tolData/pickedImgs/README.md
@@ -0,0 +1,10 @@
+This directory holds additional image files to use for tree-of-life nodes,
+on top of those from EOL and Wikipedia.
+
+Possible Files
+==============
+- (Image files)
+- imgData.txt <br>
+ Contains lines with the format `filename|url|license|artist|credit`.
+ The filename should consist of a node name, with an image extension.
+ Other fields correspond to those in the `images` table (see ../README.md).