diff options
author | Joris | 2023-08-19 15:07:10 +0200 |
---|---|---|
committer | Joris | 2023-08-19 15:08:27 +0200 |
commit | 4854531d60ad2c68ccdbf19eed6fe9a6ce1b6797 (patch) | |
tree | 9b0951fbfe13e382c545f942ad1fac0558f07227 /bin/dev-server | |
parent | 4e675127922e455b347246e81178d8c076720aea (diff) |
Use environment variables instead of config file
Diffstat (limited to 'bin/dev-server')
-rwxr-xr-x | bin/dev-server | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/dev-server b/bin/dev-server index 0669d6d..195791c 100755 --- a/bin/dev-server +++ b/bin/dev-server @@ -4,7 +4,14 @@ cd $(dirname "$0")/.. CMD=${1:-run} -RUST_LOG=budget=info cargo-watch \ +export RUST_LOG="budget=info" +export AUTH_SECRET="pMkW8PR7bjhc24bbvZLIEHfcooLzrGIh" +export DB_PATH="database.db" +export MOCK_MAILS="true" +export SECURE_COOKIES="false" +export SOCKET_ADDRESS="0.0.0.0:3000" + +cargo-watch \ --ignore README.md \ --ignore bin \ --ignore sql \ |