Collect Buildathon 1
29 March 2025
- Install uv astral
curl -LsSf https://astral.sh/uv/install.sh | less - Install python
uv python install - Sync dependencies
uv sync --directory backend - Run main
uv run backend/main.py
uv run app/models/models.py > mock.json
cd backend/appuv run fastapi dev main.py
uv run gel project inituv run gel extension install postgisuv run gel instance restartuv run gel migrate
This will spin up a local environment with the database, front-end and back-end:
- Install Docker (https://www.docker.com/)
- Under root of repo:
docker compose up --build. Hit Ctrl+C to stop it. Alternatively it can be launched in detached mode:docker compose up -d --build, then calldocker compose downlater (from root folder of repo) to stop everything.