martin/README.md
2018-03-27 14:40:33 +03:00

841 B

Martin

Build Status

PostGIS Mapbox Vector Tiles server.

Warning: this is experimental

Installation

git clone git@github.com:urbica/martin.git
cd martin
cargo build --release
./target/release/martin

Usage

DATABASE_URL=postgres://postgres:password@localhost:5432/test martin

Environment variables

DATABASE_URL
DATABASE_POOL_SIZE
WORKER_PROCESSES
KEEP_ALIVE

Using with Docker

docker run -d —rm —name martin \
  -p 3000:3000 \
  -e DATABASE_URL=postgres://postgres:password@localhost:5432/test \
  urbica/martin

Development

Install project dependencies and check that the tests run

cargo test
cargo run