Setup
Setup
For ScottyLabs Org Member setup instructions, see CONTRIBUTING.md.
Prerequisites
Initial Setup
cd housingdirenv allowRunning the Frontend
# From the repo rootdevenv upThe backend is proxied through the Vite development server and can be accessed at http://localhost:3000 during development. The backend should not be accessed directly, as all paths prefixed with /api will be routed to the backend.
Deployment
Production runs on Kennel via devenv and secretspec. Pushes to Codeberg main trigger deploys.
URLs:
- https://housing-frontend-main.scottylabs.net (default Kennel URL)
- https://cmuhousing.scottylabs.org (custom domain, managed by Kennel)
- https://cmuhousing.com — point DNS at deploy-01 after verifying the Kennel deploy
Validate locally before pushing:
SECRETSPEC_PROVIDER=dotenv://.env devenv build scottylabs.kennel.confignix build