Add build/run scripts

This commit is contained in:
RunasSudo 2024-04-04 19:55:56 +11:00
parent 2938e246bd
commit 1d051a6682
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 7 additions and 0 deletions

4
build_css.sh Executable file
View File

@ -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 $@

3
run_debug.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/bash
. venv/bin/activate
flask -A drcr --debug run