Browse Source

Document environment variables

master
Perception 3 months ago
parent
commit
af14df4238
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      README.md

+ 12
- 0
README.md 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`.

Loading…
Cancel
Save