Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 2.3 KB

README.md

File metadata and controls

85 lines (60 loc) · 2.3 KB

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

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

The Docker image is managed by the hexagram30/docker repo.