che-server/exec-agent
Yevhenii Voevodin ab9b0946ec Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
..
docs Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
src Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
.gitignore Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
README.md Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
pom.xml Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00

README.md

Summary

Golang based server for executing commands and streaming process output logs, also websocket-terminal.

Requirements

  • golang 1.6+

Docs

Development

export CHE_PATH=~/code/che
mkdir $GOPATH/src/github.com/eclipse/che -p
ln -s $CHE_PATH/exec-agent/src $GOPATH/src/github.com/eclipse/che/exec-agent
Install godep
go get github.com/tools/godep
Get all dependencies
cd $GOPATH/src/github.com/eclipse/che/exec-agent
$GOPATH/bin/godep restore

That's it, $GOPATH/src/github.com/eclipse/che/exec-agent project is ready.

Building linked project
cd $GOPATH/src/github.com/eclipse/che/exec-agent && go build
Running linked project tests
cd $GOPATH/src/github.com/eclipse/che/exec-agent && go test ./...
Formatting linked project sources
cd $GOPATH/src/github.com/eclipse/che/exec-agent && go fmt ./...