2023-03-03 21:24:21 +01:00
|
|
|
BINARY_NAME=Nourybot.out
|
|
|
|
BINARY_NAME_API=NourybotApi.out
|
2021-10-20 01:00:12 +02:00
|
|
|
|
2023-03-03 21:24:21 +01:00
|
|
|
|
|
|
|
xdprod:
|
2023-08-08 00:41:11 +02:00
|
|
|
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
|
|
|
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
|
|
|
./bin/${BINARY_NAME} -env="prod"
|
2022-08-07 16:08:25 +02:00
|
|
|
|
|
|
|
jq:
|
2023-08-08 00:41:11 +02:00
|
|
|
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
|
|
|
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
|
|
|
./bin/${BINARY_NAME} -env="dev" | jq
|
2023-03-03 21:24:21 +01:00
|
|
|
|
|
|
|
jqprod:
|
2023-08-08 00:41:11 +02:00
|
|
|
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
|
|
|
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
|
|
|
./bin/${BINARY_NAME} -env="prod" | jq
|
2023-03-03 22:16:00 +01:00
|
|
|
|
2023-12-03 20:50:38 +01:00
|
|
|
build:
|
|
|
|
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
|
|
|
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
|
|
|
|
|
|
|
run:
|
|
|
|
./bin/${BINARY_NAME} -env="prod"
|
2022-08-16 16:35:45 +02:00
|
|
|
|
2023-12-08 19:23:31 +01:00
|
|
|
up:
|
|
|
|
docker compose up
|
|
|
|
|
|
|
|
down:
|
|
|
|
docker compose down
|
|
|
|
|
2023-12-10 23:50:59 +01:00
|
|
|
xd:
|
|
|
|
docker compose down
|
|
|
|
docker compose build
|
|
|
|
docker compose up
|
|
|
|
|
2023-10-02 00:35:27 +02:00
|
|
|
prod:
|
|
|
|
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
|
|
|
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
|
|
|
./bin/${BINARY_NAME} -env="prod"
|