Skip to content

Setup

Setup

For ScottyLabs Org Member setup instructions, see CONTRIBUTING.md.

Prerequisites

Initial Setup

Terminal window
cd housing
direnv allow

Running the Frontend

Terminal window
# From the repo root
devenv up

The 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:

Validate locally before pushing:

Terminal window
SECRETSPEC_PROVIDER=dotenv://.env devenv build scottylabs.kennel.config
nix build