apple/foundationdb

Make the binary package more quick start friendly

Aberta

#1.457 aberto em 12 de abr. de 2019

 (1 comentário) (0 reação) (0 responsável)C++ (1.266 forks)batch import
help wanted

Métricas do repositório

Stars
 (13.912 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d) (78 fundiu PRs em 30d)

Description

It would be nice if the binary package included a single command to start a local FoundationDB server.

Description:

As a developer I want an easy way to run a local database for development and testing.

The "Getting Started on Linux" instructions assume that I will install a distro package, which isn't always possible or desired, e.g. in my case my distro is not supported.

The binaries tarball works but is a bit of hassle to get running, as you need to find the following:

  • a config file, which you can piece together from the documentation section by section
  • a cluster file, whose format is described but without a valid example or suggested way to generate an ID
  • a command line, e.g. do you run fdbmonitor or fdbserver, and with which arguments

(For a comparison, the relatively heavy-weight Kafka comes ready to run locally in two commands, one of which starts an included Zookeeper server.)

Suggestion:

The binary package should include a shell script that starts a local foundationdb server, creating a cluster file if necessary. The server should be configured to store its data and logs to the local directory. It should also include a readme file that shows how to start the server and connect to it with fdbcli.

Guia do colaborador