Go to file
Ken-Håvard Lieng 6876a5129a Add yarn lockfile 2016-10-12 21:19:00 +02:00
assets Add yarn lockfile 2016-10-12 21:19:00 +02:00
client Add yarn lockfile 2016-10-12 21:19:00 +02:00
commands Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
irc Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
letsencrypt Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
server Use egon templating for the index page 2016-03-16 23:23:16 +01:00
storage Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
vendor Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
.dockerignore Add dockerfile, add data directory flag 2015-05-29 01:59:08 +02:00
.editorconfig Switch to redux and webpack 2015-12-29 00:34:32 +01:00
.gitignore Add release script 2016-01-20 00:32:33 +01:00
.travis.yml Allow travis build failures on tip 2016-10-11 22:15:40 +02:00
Dockerfile Let's Encrypt 2016-01-04 19:26:32 +01:00
LICENSE Add license 2015-05-01 23:50:06 +02:00
README.md Add environment variable instructions to readme 2016-03-01 02:04:56 +01:00
config.default.toml Add configurable HSTS and some other headers 2016-01-25 22:41:54 +01:00
docker.sh Switch to redux and webpack 2015-12-29 00:34:32 +01:00
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +01:00
release.sh Add release script 2016-01-20 00:32:33 +01:00

README.md

dispatch Build Status

####Try it!

Dispatch

Features

  • Searchable history
  • Persistent connections
  • Multiple servers and users
  • Automatic HTTPS through Let's Encrypt
  • Client certificates

Usage

There is a few different ways of getting it:

1. Binary

2. Go

This requires a Go environment.

If running go 1.5 this environment variable is needed, versions <1.5 are not supported:

export GO15VENDOREXPERIMENT=1

Fetch, compile and run dispatch:

go get github.com/khlieng/dispatch

dispatch

To get some help run:

dispatch help

3. Docker

docker run -p <http port>:80 -p <https port>:443 -v <path>:/data khlieng/dispatch

Build

Server

cd $GOPATH/src/github.com/khlieng/dispatch

go install

Client

This requires Node.js.

Fetch the dependencies:

npm install -g gulp
go get github.com/jteeuwen/go-bindata/...
cd $GOPATH/src/github.com/khlieng/dispatch/client
npm install

Run the build:

gulp build

The server needs to be rebuilt after this.

For development with hot reloading enabled run:

gulp
dispatch --dev

Libraries

The libraries this project is built with.

Server

Client