From 03e5e364279222b6a983a66f344ac6ddc8c3fcf9 Mon Sep 17 00:00:00 2001 From: gennyble Date: Tue, 14 Oct 2025 16:04:22 -0500 Subject: justfile --- justfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..ab91b96 --- /dev/null +++ b/justfile @@ -0,0 +1,11 @@ +prod := "starlight" + +prod_bin := "/opt/awake/awake" +prod_db := "/var/awake/database.sqlite" + +get-db: + rsync -aP {{prod}}:{{prod_db}} . + +deploy: + cargo build --release --target x86_64-unknown-linux-gnu + rsync -aP target/x86_64-unknown-linux-gnu/release/awake {{prod}}:{{prod_bin}} \ No newline at end of file -- cgit 1.4.1-3-g733a5