This guide is optimized for getting a new contributor to a working local environment quickly. If you need product context first, start with ../../README.md.
- Python 3.10+
- Node.js 18+
backend/— FastAPI + SQLAlchemyfrontend/— Next.js 14docs/— documentation
git clone https://github.com/zhuamber370/memlineage.git
cd memlineagecp .env.example .env
cp .env frontend/.env.localNotes:
- Backend reads
backend/.envand root.env. - Frontend reads
frontend/.env.local.
See: backend/README.md
Typical local run:
cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 -m uvicorn src.app:app --reload --port 8000Verify:
See: frontend/README.md
cd frontend
npm install
npm run devVerify:
Backend:
cd backend
python3 -m pytest -q
python3 scripts/cleanup_test_data.pyFrontend:
cd frontend
npm run buildGood first contributions (high-signal, low-risk):
- Documentation fixes (API surface sync, README clarity)
- Small UI copy improvements (keep tone factual)
- UX polish on
/changesdiff readability
If you’re unsure, open an issue with:
- Your preferred area (backend/frontend/full-stack/docs)
- Your available time (e.g. 30–60 min / weekend)