Development should be done with Docker, which standardizes the environment that's used to run this project.
If you can't or don't want to use Docker, you can read through compose.yaml
and Dockerfile
configs and adapt them for your own development environment.
- Install
docker
itsdocker compose
plugin. If you're on macOS, either Docker Desktop or Colima are good options. - Run
docker compose build
. - Run
docker compose up
. By default, it will expose the server on http://localhost:4000. If you want to use another port, updatecompose.yaml
config accordingly. - Run
docker compose run --rm web rails db:prepare
to prepare the database.
To see if things are working, try running the tests: docker compose run --rm web bundle exec rspec
API for the main Guesstimate instance, https://api.getguesstimate.com, is deployed on QURI Kubernetes cluster.