This repo is only used for development. For actual usage - including local usage, run in Reigh.art.
Looking for the full architecture & code walkthrough? Check structure.md.
Need the Python worker that processes queued tasks? See Headless-Wan2GP.
- Node.js 18+ and npm
- Docker running locally (Supabase containers rely on it)
- Supabase CLI v1+ —
brew install supabase/tap/supabaseor see the official docs
- Clone & install dependencies
git clone https://github.com/peteromallet/reigh cd reigh && npm install
- Create
.env& start Supabasecp .env.example .env # base env file supabase start # launches Postgres, Auth, Storage, Realtime # copy the printed SUPABASE_URL, ANON_KEY & SERVICE_ROLE_KEY into .env supabase db push # applies Drizzle migrations
- Run the app (two terminals)
# Terminal 1 – Front-end npm run dev # Vite on http://localhost:2222 # Terminal 2 – Background worker / WebSocket server npm run start:api # Express worker on http://localhost:8085 (no REST routes)
That’s all you need to get Reigh running. For advanced commands, troubleshooting, or deployment notes, head over to the docs linked above.