small updates

This commit is contained in:
wagslane
2023-06-12 16:06:12 -06:00
parent fc8dac21d0
commit 57e5fde82f
6 changed files with 22 additions and 9 deletions

1
scripts/buildprod.sh Executable file
View File

@@ -0,0 +1 @@
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o notely

View File

@@ -1,4 +1,6 @@
source .env
if [ -f .env ]; then
source .env
fi
cd sql/schema
goose mysql $DATABASE_URL up