Document environment variables

This commit is contained in:
2021-01-06 01:53:56 -08:00
parent a199071063
commit af14df4238
+12
View File
@@ -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`.