The Oregon Water Data portal crawls or ingests data from multiple different Oregon sources and exposes them via a Sensorthings and OGC API Features endpoint.
- Copy the
.env.example
file to.env
and change the URL to your desired domain. - Spin up the infrastructure with docker
docker compose --env-file .env up
- Once you start the database and the frost server, you will likely want to add extra indices to make it faster. To do this run the init script
Access the frontend at localhost:8999
and the API at localhost:8999/oapi
, or edit .env
and deploy at your own URL.
- Start Caddy with
make caddy
if you want to get https in production. - Run dagster with
dagster dev
- You must use python 3.12 or below since 3.13 is not supported by Dagster currently
- This project uses
uv
since it makes it easier to manage the python version - It is helpful to use
screen
to start a background shell, rundagster dev
then detach the screen. You can then reattach to it at a later time withscreen -r
so it runs in the background but is still accessible via the cli.