autotasker/justfile

20 lines
621 B
Makefile
Raw Normal View History

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