This repository was archived by the owner on Mar 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Local development setup
Justin Clift edited this page Jan 29, 2021
·
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 Memcached
- It's likely available in your package manager (on Linux), or Homebrew (on macOS)
- If it's not available easily, you can compile it yourself. No special options need to be available, a very basic Memcached install will be fine.
- Install PostgreSQL, create new user and database, and import initial database schema
- Instructions for importing the database schema are here.
- Download and run
minio - Copy the config file in
docker/config.tomlto~/.dbhub/config.tomland change all the paths, Postgres settings, etc. - Add that
user_overrideline to the config - Make sure the directory in the
disk_cacheline exists - Make sure the name
docker-dev.dbhub.iois added to the/etc/hostsfile -
go run .in thedb4sand in thewebuidirectories