diff --git a/scripts/run_server.sh b/scripts/run_server.sh deleted file mode 100644 index b90000c..0000000 --- a/scripts/run_server.sh +++ /dev/null @@ -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 diff --git a/server/.env.example b/server/.env.example deleted file mode 100644 index b0e131e..0000000 --- a/server/.env.example +++ /dev/null @@ -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 diff --git a/server/bin/marketing-data-server b/server/bin/marketing-data-server deleted file mode 100755 index 3eefb0b..0000000 Binary files a/server/bin/marketing-data-server and /dev/null differ