fleet-ui

command module
v0.0.0-...-08ed2de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2015 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

fleet-ui

Web based UI for fleet

fleet-ui machine list

fleet-ui unit detail

fleet-ui new unit

Getting started

(1) run docker container

  • -e ETCD_PEER=protocol://your_etcd_peer_ip:peer_port
  • -e BIND=bind_ip:bind_port
  • -p port:3000
  • -v your_ssh_private_key_file_path:/root/id_rsa
docker run --rm -p 3000:3000 -e ETCD_PEER=http://10.0.0.1:4001 -v ~/.ssh/id_rsa:/root/id_rsa purpleworks/fleet-ui

(2) enjoy!

Prerequire

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/
              .dockerignore
              .gitignore
              CHANGELOG.md
              Dockerfile
              README.md
              angular
              app.go
              (...)

Development

backend (api server)
$ go install
$ fleet-ui -etcd-peer=[protocol://your_etcd_peer_ip:your_etcd_peer_port] -bind=[bind_ip:bind_port]
frontend (web based ui)
$ cd angular
$ npm install
$ bower install
$ grunt server

Build All

$ ./build.sh

Contributing

  1. Fork it ( https://github.com/purpleworks/fleet-ui/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

MIT (see LICENSE file)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/codegangsta/negroni
Package negroni is an idiomatic approach to web middleware in Go.
Package negroni is an idiomatic approach to web middleware in Go.
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/gorilla/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455.
Package websocket implements the WebSocket protocol defined in RFC 6455.
_workspace/src/github.com/gorilla/websocket/examples/autobahn command
Command server is a test server for the Autobahn WebSockets Test Suite.
Command server is a test server for the Autobahn WebSockets Test Suite.
_workspace/src/github.com/juju/errgo
The errgo package provides a way to create and diagnose errors.
The errgo package provides a way to create and diagnose errors.
_workspace/src/github.com/juju/errgo/errors
The errors package provides a way to create and diagnose errors.
The errors package provides a way to create and diagnose errors.
_workspace/src/gopkg.in/unrolled/render.v1
Package render is a package that provides functionality for easily rendering JSON, XML, binary data, and HTML templates.
Package render is a package that provides functionality for easily rendering JSON, XML, binary data, and HTML templates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址