che-server/agents/exec-agent
Roman Iuvshin 05a7cd53b5 [maven-release-plugin] prepare for next development iteration 2017-01-18 16:33:24 +00:00
..
docs Move agents in agents module (#3647) 2017-01-13 16:31:45 +02:00
src Update path in README, pom.xml and sources. Format source code with go fmt 2017-01-16 15:21:03 +02:00
.gitignore Move agents in agents module (#3647) 2017-01-13 16:31:45 +02:00
README.md Update path in README, pom.xml and sources. Format source code with go fmt 2017-01-16 15:21:03 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-01-18 16:33:24 +00: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/agents -p
ln -s $CHE_PATH/agents/exec-agent/src $GOPATH/src/github.com/eclipse/che/agents/exec-agent
Install godep
go get github.com/tools/godep
Get all dependencies
cd $GOPATH/src/github.com/eclipse/che/agents/exec-agent
$GOPATH/bin/godep restore

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

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