-
Notifications
You must be signed in to change notification settings - Fork 3
Development
Koishi edited this page Mar 19, 2026
·
2 revisions
Set up your development environment for contributing to MomShell.
- Go 1.25+
- Node.js 24+
- PostgreSQL
- Git
- pre-commit (optional, for git hooks)
See Getting Started for installation links.
git clone https://github.com/koishi510/MomShell.git
cd MomShell
./scripts/dev-setup.shcp .env.example .env # Edit with your config
cd backend && go mod download && cd ..
cd frontend && npm install && cd ..
# Optional: install git hooks
pre-commit installmake dev-backend # Terminal 1 — Go server on :8000
make dev-frontend # Terminal 2 — Vite dev server on :5173
make dev-tmux # Or both in tmux# Backend
cd backend && go run cmd/server/main.go
# Frontend
cd frontend && npx vitemake lint # go vet + eslint
make format # go fmt
make typecheck # go build + vue-tsc
make check # lint + typecheck
make build-backend # Build Go binary
make build-frontend # Vite production build
make db-reset # Drop and recreate PostgreSQL public schemacd backend && go test ./...cd frontend && npx vue-tsc --noEmit -p tsconfig.node.jsonPlease read the full Contributing guide for code standards, commit conventions, and PR workflow.