16 lines
411 B
Makefile
16 lines
411 B
Makefile
export RUST_BACKTRACE := "1"
|
|
export RUST_LOG := "trace"
|
|
|
|
watch-run:
|
|
cargo-watch -x 'run -- --config config.yaml'
|
|
|
|
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 .
|
|
|
|
|