Added lib to service

This commit is contained in:
Benjamin Sherriff
2023-10-04 19:58:54 -04:00
parent cee9dbdc81
commit ecc65222b6
20 changed files with 169 additions and 166 deletions

27
bot/Makefile Normal file
View File

@@ -0,0 +1,27 @@
#!make
SHELL := /bin/bash
include .env
.PHONY: help build test up down exec clean
help: ## Help command
@echo
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@echo
build: ## Build the docker image
docker compose build
db: ## Start the docker database
docker compose up -d db
up: ## Start the app
docker compose up -d
down: ## Stop the app
docker compose down
clean:
docker compose down && \
docker image rm siren-bot