This commit is contained in:
Benjamin Sherriff
2023-10-05 09:07:53 -04:00
parent ac17be838a
commit 1b41849115
54 changed files with 6473 additions and 129 deletions

26
ui/Makefile Normal file
View File

@@ -0,0 +1,26 @@
#!make
SHELL := /bin/bash
.PHONY: help build start stop lint
help: ## This info
@echo
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@echo
build: ## Install the dependencies and build
docker compose build
up: ## Start the dev instance
docker compose up -d
down: ## Stop the dev instance
docker compose down
lint: ## Run the linter
npm run lint
clean: ## Remove node modules
docker compose down && \
docker image rm siren-ui