15 lines
213 B
Bash
Executable File
15 lines
213 B
Bash
Executable File
#!/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 |