gladius-edged

module
v0.0.0-...-4d78089 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: GPL-3.0

README

Gladius Edged

The Gladius Edge Daemon serves static content to a web browser. See the main gladius-node repository to see more.

Docker

Running the Edge Daemon in a docker container

From Docker Hub
$ docker run -it -v YOUR_GLADIUS_PATH:/root/.gladius \
    -p 8080:8080 gladiusio/edged:latest
Build from GitHub
$ docker build --tag=gladiusio/edged .

$ docker run -it -v $(pwd)/gladius:/root/.gladius -p 8080:8080 \
    gladiusio/edged:latest
  • Runs the container mapping the local ./gladius folder in this directory to the Docker container
  • Exposes the content port

Build from source

For your machine

You will need Go 1.11.4 or higher (some issues with go mod checksums below that)

Run make. The binary will be in ./build

Cross compile

Check out the gladius-node repository for Dockerized cross compilation.

Config

Check out our example config to see what values are available.

Directories

Path Synopsis
cmd
state
Package state contains a thread safe state struct that stores information about the edged
Package state contains a thread safe state struct that stores information about the edged

Jump to

Keyboard shortcuts

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