chore: setup monorepo with docker and move legacy code in to apps/web

This commit is contained in:
Lucàs
2026-05-03 15:28:55 +02:00
parent 9272b78925
commit 18b8e72558
150 changed files with 53 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
-include .env
DC=docker compose
## help: Print commands help
.PHONY: help
help : Makefile
@sed -n 's/^##//p' $<
## up: Start the application
.PHONY: up
up:
$(DC) up -d --remove-orphans $(service)
## down: Stop the application
.PHONY: down
down:
$(DC) down $(service)
## build: Build the application
.PHONY: build
build:
$(DC) build --no-cache $(service)
## logs: Follow the application logs
.PHONY: logs
logs:
$(DC) logs -f $(service)
shell:
$(DC) exec $(service) sh
# https://stackoverflow.com/a/6273809/1826109
%:
@: