FreePad/run.sh

5 lines
203 B
Bash
Raw Normal View History

2022-05-15 12:43:42 +03:00
echo "Running Migrations up";
migrate -path /app/db/migrations/ -database "mysql://$MYSQL_USER:$MYSQL_PASSWORD@tcp($MYSQL_URL:$MYSQL_PORT)/$MYSQL_DATABASE" up
echo "Running FreePad";
cd src && go run .;