autotasker/justfile

20 lines
552 B
Makefile
Raw Normal View History

2024-07-26 16:23:39 +00:00
export RUST_BACKTRACE := "1"
export RUST_LOG := "trace"
watch-run:
cargo-watch -x 'run -- --config config.yaml --database ./tmp/dbs/autotasker.db'
run:
cargo run -- --database ./tmp/dbs/autotasker.db --config ./config.yaml --static-assets ./assets
2024-07-26 16:23:39 +00:00
2024-08-02 14:39:21 +00:00
docker-run:
docker run -p 3085:8080 -v ./config:/etc/autotasker -v ./db:/var/lib/autotasker autotasker
docker-init-db:
docker run -v ./config:/etc/autotasker -v ./db:/var/lib/autotasker autotasker /usr/local/bin/autotasker_init_db.sh
docker-build:
docker build -t autotasker .