raster


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