Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Local development setup

Martin Kleusberg edited this page Jul 9, 2020 · 17 revisions

These are the steps (copied from here) for getting a local DBHub.io server running for development purposes:

If you want to connect to the DB4S end point, please make sure to use the latest nightly build of DB4S or compile it from the sources in the master branch.

  • Install PostgreSQL, create new user and database, and import initial database schema
  • Download and run minio
  • Copy the config file in docker/config.toml to ~/.dbhub/config.toml and change all the paths, Postgres settings, etc.
  • Add that user_override line to the config
  • Make sure the directory in the disk_cache line exists
  • Make sure the name docker-dev.dbhub.io is added to the /etc/hosts file
  • go run . in the db4s and in the webui directories
Clone this wiki locally