autotasker/justfile
Matthieu Bessat b79d989f78 feat(executor): remote host executing via ssh
Allow to specify a task to be running on a remote host via wrapping
command around ssh client.
2024-08-03 19:43:26 +02:00

19 lines
552 B
Makefile

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
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 .