fleet-ui
Web based UI for fleet
Getting started
(1) run docker container
- -e ETCD_PEER=
your_etcd_peer_ip
- -p
port
:3000 - -v
your_ssh_private_key_file_path
:/root/id_rsa
docker run --rm -p 3000:3000 -e ETCD_PEER=10.0.0.1 -v ~/.ssh/id_rsa:/root/id_rsa purpleworks/fleet-ui
(2) enjoy!
Usage
docker build
$ cd angular
$ npm install
$ bower install
$ npm build
$ cd ..
$ docker build -t purpleworks/fleet-ui .
run in local dev environment
run api server
$ go install
$ fleet-ui -etcd-peer=[your_etcd_peer_ip]
run web server
$ cd angular
$ npm install
$ bower install
$ grunt serve
Prerequire
Install Go
References:
Check your environment:
$ go version
go version go1.3 darwin/amd64
$ echo $GOPATH
/Users/your_name/workspace/go
Organize your workspace
clone your forked github repository to workspace($GOPATH)
$ mkdir $GOPATH/src/github.com
$ cd $GOPATH/src/github.com
$ git clone git@github.com:your_name/fleet-ui.git
here's an example:
bin/
pkg/
src/
github.com/
your_name/
fleet-ui/
.git/
Dockerfile
README.md
app.go
start.sh
LINK
Contributing
- Fork it ( https://github.com/purpleworks/fleet-ui/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request