Giter Site home page Giter Site logo

andersjanmyr / fleet-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from purpleworks/fleet-ui

0.0 2.0 0.0 6.69 MB

Web based UI for fleet

Home Page: http://fleetui.com/

ApacheConf 37.94% HTML 20.38% CSS 16.85% JavaScript 3.19% Go 21.00% Shell 0.63%

fleet-ui's Introduction

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=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 [email protected]: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

  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

fleet-ui's People

Contributors

subicura avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.