From 1d051a6682e750ff14a9b0c60d12438d6b406c9b Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Thu, 4 Apr 2024 19:55:56 +1100 Subject: [PATCH] Add build/run scripts --- build_css.sh | 4 ++++ run_debug.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100755 build_css.sh create mode 100755 run_debug.sh diff --git a/build_css.sh b/build_css.sh new file mode 100755 index 0000000..dac5e28 --- /dev/null +++ b/build_css.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +# Pass -w to watch continuously +tailwindcss -c drcr/css/tailwind.config.js -i drcr/css/main.css -o drcr/static/build/main.css $@ diff --git a/run_debug.sh b/run_debug.sh new file mode 100755 index 0000000..569eb82 --- /dev/null +++ b/run_debug.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash +. venv/bin/activate +flask -A drcr --debug run