From af14df4238778a483cfa84f211e940b60a6d0032 Mon Sep 17 00:00:00 2001 From: Perception Date: Wed, 6 Jan 2021 01:53:56 -0800 Subject: [PATCH] Document environment variables --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index db043b2..af5dd99 100644 --- a/README.md +++ b/README.md @@ -45,3 +45,15 @@ following in your crontab. DSS_ROOT=/path/to/dss 55 * * * * cd $DSS_ROOT && bin/articles-update ``` + +## Environment Variables + +### PATH + +Make sure your `PATH` includes `node_modules/.bin`. Running `micro-dev` probably won't work otherwise. + +### DSS\_DB + +By default, this code assumes the database is at `./main.db` in the root +of the project directory. If you want to use another database, you may +specify its full path in `DSS_DB`.