From 436ddf6f23242eb709b591cd5e9cbf1553f8d390 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 20 May 2024 09:40:11 +0200 Subject: Allow to upload file and download from given link --- bin/dev-server | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 bin/dev-server (limited to 'bin') diff --git a/bin/dev-server b/bin/dev-server new file mode 100755 index 0000000..d489127 --- /dev/null +++ b/bin/dev-server @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +if ! [ -f db.sqlite3 ]; then + + echo "Creating databise" + sqlite3 db.sqlite3 < init-db.sql + sleep 1 + +fi + +watchexec \ + --restart \ + --clear \ + --exts py \ + python src/main.py -- cgit v1.2.3