axel/setup db n migrations (#29)

* setup db & migrations

* bugfixes

* README updates

* updates to readme

* not tracking .env.dev

* README update

* cleanup

* updated db logic to allow for test db

* remove unnecessary await

---------

Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
This commit is contained in:
Axel Adlercreutz
2025-01-24 15:09:46 +02:00
committed by GitHub
co-authored by Jukka Kuusto
parent c0c4d96e0d
commit 6ded19a4ec
16 changed files with 449 additions and 25 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
touch gradesa/.env
echo "TZ=UTC" >> gradesa/.env
cp gradesa/.env.template gradesa/.env.development
cp gradesa/.env.template gradesa/.env.test
cp gradesa/.env.template gradesa/.env.production
echo "Created .env files"