Files
Mastermind/INSTALL.md

54 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# INSTALL — Mastermind MVP
## Prerequisites
- Docker + Docker Compose
- A stable hostname/IP you can reach (LAN or Tailscale)
## Configure
```bash
cd /root/clawd/mastermind-mvp
cp .env.example .env
```
Edit `.env`:
- `SESSION_SECRET` — set to a long random value
- `BASE_URL` — the URL you use to reach the app (Tailscale IP recommended)
OAuth is optional for now:
- `GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET`
- `MICROSOFT_CLIENT_ID/MICROSOFT_CLIENT_SECRET`
## Start
```bash
docker compose up -d --build
```
App:
- http://<BASE_URL_HOST>:3005/login
## First login (important)
On first run the app creates:
- `owner@local` / `owner`
Immediately change it:
- http://<host>:3005/account/password
## Create your first project
- http://<host>:3005/projects
## Import email (until OAuth is connected)
Export emails as `.eml` and upload:
- http://<host>:3005/inbox
## Enable connector placeholders
- http://<host>:3005/admin/email
Connectors will show **Configured: no** until OAuth client credentials are added.
## OAuth callbacks (when youre ready)
These are the callback URLs the app expects:
- Google: `BASE_URL/auth/google/callback`
- Microsoft: `BASE_URL/auth/microsoft/callback`
Set `BASE_URL` correctly before authorizing.