full stack second commit
This commit is contained in:
15
scripts/dev-backend.sh
Executable file
15
scripts/dev-backend.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
cd go_cloud
|
||||
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example .env
|
||||
echo "Copied .env.example to .env. Please edit it with your settings."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
go run ./cmd/api
|
||||
Reference in New Issue
Block a user