https://github.com/operable/go-relay
Cog Relay written in Go supporting Docker and native command bundles
https://github.com/operable/go-relay
bot-framework chatbot-framework chatops docker
Last synced: 6 months ago
JSON representation
Cog Relay written in Go supporting Docker and native command bundles
- Host: GitHub
- URL: https://github.com/operable/go-relay
- Owner: operable
- License: other
- Created: 2016-03-25T17:27:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T21:09:23.000Z (over 7 years ago)
- Last Synced: 2025-04-23T07:38:11.390Z (10 months ago)
- Topics: bot-framework, chatbot-framework, chatops, docker
- Language: Go
- Homepage:
- Size: 7.98 MB
- Stars: 4
- Watchers: 3
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Relay
[](https://travis-ci.org/operable/go-relay)
[](https://coveralls.io/github/operable/go-relay?branch=master)
[](https://ebertapp.io/github/operable/go-relay)
[]()
## Dependencies
* Go v1.9+
* Docker v1.10.3+
## Getting up and running
1. Clone go-relay to $GOPATH/src/github.com/operable/go-relay
```
mkdir -p $GOPATH/src/github.com/operable
git clone git@github.com:operable/go-relay.git $GOPATH/src/github.com/operable
```
2. Install preqrequisites
```sh
go get -u github.com/kardianos/govendor
```
3. Download deps and compile an executable
```
make
```
4. Set environment variables and run `relay`.
You'll need to have a docker machine running and have environment variables
set for the docker client to connect to it. If you haven't already, run the
following. (See more details at https://docs.docker.com/machine/get-started)
```
docker-machine create --driver virtualbox default
docker-machine start default
eval $(docker-machine env default)`
```
Then start relay:
```
RELAY_DOCKER_USE_ENV=true _build/relay -file example_cog_relay.conf
```
## Docker Images
Release images are available from the
[operable/relay](https://hub.docker.com/r/operable/relay-preview/)
repository on Docker Hub.
The latest code from the `master` branch is always available in the
[operable/relay-preview](https://hub.docker.com/r/operable/relay-preview/)
repository. The only tag in this repository is `latest`, and it
"floats".
Building your own image can be done with `make docker`.