CrankDB is an ultra fast and very lightweight Key Value based Document Store.
- Golang 1.16
docker run -p 9876:9876 shreybatra/crankdb
- Download executable -
- Extract tar and start server -
cd Downloads tar -xvf <downloaded_tar_file> ./crankdb
- (MacOS) You might need to allow macos to run the file via Settings and Privacy.
- Download application -
go get github.com/shreybatra/crankdb
- Run server with command -
crankdb
You can provide environment variables HOSTS and PORT to customize your server network binding.
Defaults -
- HOSTS=localhost (0.0.0.0 for the docker image)
- PORT=9876
As this is a very early release you can use 2 ways to interact with the database -
- Clone the repo and change directory to project root folder.
- Tidy dependencies using -
go mod tidy
- Build the application -
go build .
- Run the server -
./crankdb