guardian-server

command module
v0.0.0-...-b6dacba Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

README

guardian-server Build Status Coverage Status

Server for communicating with guardian hosts.

Building and Installation

The project can be build on either docker or bare metal, however most development is done with the provided dockerfile.

Bare Metal

  • Clone the repository.
git clone git@github.com:kochie/guardian-server.git
  • Start a redis instance somewhere and take note of the connection settings.
  • Start a postgres database somewhere and take note of the connection settings as well.
  • Modify the environment variables found in config.json and update any settings required.
  • Build the service with go, normally a sequence like.
go test -v ./...
go build main.go
  • [Optionally] Install the binary.
go install main.go

Docker

To build in docker compose.

docker-compose build 

To run in docker compose.

docker-compose up

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
handlers

Jump to

Keyboard shortcuts

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