Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
GitHub didn't answer, so this is the saved copy from 17 h ago
Will it work on macOS?
Heads-upIt also needs 10 settings in .env (2 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/23-75125-pixel/ecolearn.git cd ecolearn
Node.js 20
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install 20
Fill in secrets: E2E_PASSWORD, NEXT_PUBLIC_SUPABASE_ANON_KEY
cp .env.e2e.example .env.local
npm ci
npm run dev
npm test
Install dependencies (not included in this delivery - see note below):
npm install
Configure environment variables. Copy .env.example to .env.local
and fill in your Supabase project's values (Project Settings -> API):
cp .env.example .env.local
| Variable | Where to find it | Exposed to browser? |
|---|---|---|
| NEXT_PUBLIC_SUPABASE_URL | Project Settings -> API | Yes |
| NEXT_PUBLIC_SUPABASE_ANON_KEY | Project Settings -> API | Yes |
| NEXT_PUBLIC_SITE_URL | Your local/deployed URL | Yes |
Run the database migrations.
With the Supabase CLI, against a local dev stack:
supabase start
supabase db reset # runs supabase/migrations/*.sql, then supabase/seed/seed.sql
Against a hosted Supabase project, either supabase link then
supabase db push, or paste the contents of each file in
supabase/migrations/ (0001 to 0010, in that order) into the SQL
Editor. If the project is already linked, the remote command is:
npx supabase@latest db push --remote
Run supabase/seed/seed.sql the same way if you want demo data -
local/dev projects only (see the warning at the top of that file).
Migration 0010_sync_session_modes.sql repairs open slots whose session
mode does not match their availability while preserving the session-mode
snapshot of already-booked appointments.
Run the app:
npm run dev
Visit http://localhost:3000.
No reports for macOS yet.
GitManual AI Agent reads the 5 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.