raster

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2019 License: Apache-2.0

README

raster

Build Status Project Status Go Report Card Tagged Version

Project Logo

A raster store service for use in hexagram30 projects

About

(info coming soon)

Social

Here's an invite to the Slack workspace for this and other Hexagram30 projects.

Dependencies

  • Non-Go deps: protobuf (e.g., brew install protobuf)
  • Go-based deps: make deps
  • Redix: make redix-run (see the "Infrastructure" section below)

Service

Build it:

$ make

Run it:

$ ./bin/rasterd

Client

Run it:

$ ./bin/rasterc ping
PONG
$ ./bin/rasterc version | jq .
{
  "version": "0.1.0-dev",
  "buildDate": "2019-12-30T06:52:51Z",
  "gitCommit": "1fae8c0",
  "gitBranch": "master",
  "gitSummary": "v0.0.0-3-g1fae8c0-dirty"
}

Infrastructure

The Hexgram30 raster project depends upon the on-disk, key-value store Redix, which uses the memory-mapped file-based BoltDB as its backend. For development and testing, a Docker image is provided:

This is a scatch-based Docker image, so it only takes up 16.2 MB uncompressed (7.78 MB compressed).

To run the image locally:

$ docker run -it \
		-p 7090:7090 -p 6380:6380 \
		-v `pwd`/data/redixdb:/data \
		hexagram30/redixdb:latest \
		-engine boltdb \
		-storage /data \
		-verbose

There is a make target provided as a convenience that does the same thing, so you can just run this:

$ make redix-run

Directories

Path Synopsis
app
cmd
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL