From 2b309097ca145651618234476160fb30405eabe7 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Mon, 17 Feb 2025 20:28:59 +0100 Subject: Initial commit --- modd.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modd.conf (limited to 'modd.conf') diff --git a/modd.conf b/modd.conf new file mode 100644 index 0000000..d3bf6b3 --- /dev/null +++ b/modd.conf @@ -0,0 +1,26 @@ +app/** !app/.svelte-kit/** !app/node_modules/** { + indir: app/ + + prep: npm run check + prep: npm run format +} + +{ + # Vite dev server manages reloading itself + daemon: cd app/ && npm run dev +} + +# Run various services simulating production environment. +{ + prep: mkdir -p ./local/{minio,beanstalkd} + + # Object storage server + daemon: minio server ./local/minio + + # Job queue + daemon: beanstalkd -b ./local/beanstalkd + + # Database server + prep: bash ./db/create_db.sh ./local/postgresql + daemon: bash ./db/run_db.sh ./local/postgresql +} -- cgit v1.2.3