Files
narlblog/Justfile
T
nvrl 0da5b24dc3
CI / frontend (push) Failing after 0s
CI / backend (push) Failing after 1s
updated readme + just
2026-05-21 04:29:43 +02:00

27 lines
593 B
Makefile

default:
@just --list
# Install dependencies for both backend and frontend
setup:
cd backend && cargo fetch
cd frontend && npm install
# Build backend and frontend
build:
cd backend && cargo build
cd frontend && npm run build
# Run tests for both backend and frontend
test:
cd backend && cargo test
cd frontend && npm test
# Start the stack with Docker Compose
docker:
docker compose up --build
# Run backend and frontend for development
dev:
@echo "Starting backend and frontend..."
(cd backend && cargo run) & (cd frontend && npm run dev) & wait