parent
911c1bbc8a
commit
dc22ac4406
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."/server
|
||||
go mod tidy
|
||||
if [ "${BUILD:-0}" = "1" ]; then
|
||||
mkdir -p bin
|
||||
go build -o bin/marketing-data-server ./cmd/server
|
||||
./bin/marketing-data-server
|
||||
else
|
||||
go run ./cmd/server
|
||||
fi
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
PORT=8080
|
||||
# Marketing MySQL
|
||||
MARKETING_DB_HOST=127.0.0.1
|
||||
MARKETING_DB_PORT=3306
|
||||
MARKETING_DB_USER=root
|
||||
MARKETING_DB_PASSWORD=
|
||||
MARKETING_DB_NAME=market
|
||||
# YMT MySQL
|
||||
YMT_DB_HOST=127.0.0.1
|
||||
YMT_DB_PORT=3306
|
||||
YMT_DB_USER=root
|
||||
YMT_DB_PASSWORD=
|
||||
YMT_DB_NAME=market
|
||||
Binary file not shown.
Loading…
Reference in New Issue