Go to file
Ken-Håvard Lieng ed0c413542
Merge pull request #12 from prologic/improved_dockerfile
Improved Dockerfile to properly build and ship a runtime image
2018-05-18 00:58:22 +02:00
assets Add new connect form, closes #7 2018-05-16 05:02:48 +02:00
client Add new connect form, closes #7 2018-05-16 05:02:48 +02:00
commands Use random session IDs instead of jwt 2018-04-26 21:32:21 +02:00
irc Add IRCv3 tag parsing 2018-04-29 03:49:02 +02:00
letsencrypt Handle error returned by acme.NewClient 2017-05-20 23:06:37 +02:00
links Add link metadata fetching package 2017-07-17 23:11:36 +02:00
server Add new connect form, closes #7 2018-05-16 05:02:48 +02:00
storage Use random session IDs instead of jwt 2018-04-26 21:32:21 +02:00
vendor Update server dependencies 2018-05-04 23:39:27 +02: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 Improved Dockerfile to properly build and ship a runtime image 2018-05-17 15:44:15 -07:00
.travis.yml Update gulp to 4.0.0 2018-05-16 03:46:42 +02:00
Dockerfile Improved Dockerfile to properly build and ship a runtime image 2018-05-17 15:44:15 -07:00
LICENSE
README.md Update README 2018-05-16 03:54:19 +02:00
config.default.toml Add new connect form, closes #7 2018-05-16 05:02:48 +02: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, version 1.8 or greater.

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 and yarn.

Fetch the dependencies:

go get github.com/jteeuwen/go-bindata/...
yarn global add gulp@next
cd $GOPATH/src/github.com/khlieng/dispatch/client
yarn

Run the build:

gulp build

The server needs to be rebuilt to embed new client builds.

For development with hot reloading enabled run:

gulp
dispatch --dev

Libraries

The libraries this project is built with.

Server

Client