Giter Site home page Giter Site logo

nomad-ui's Introduction

Nomad UI Build Status

An awesome user interface for an awesome scheduler, plain and simple :-)

Nomad UI Nomad UI Nomad UI

Usage

Download the latest release from the Github repository and start it with:

./nomad-ui-<os>-<arch>

This will start the nomad-ui server that will try to connect to local nomad server. The frontend can be accessed on port 3000 by default. You can override this with the -web.listen-address.

Another way to run nomad-ui is through Docker. Run the following command to start a webserver that will serve the application.

docker run -e NOMAD_ADDR=... -p 8000:3000 iverberk/nomad-ui:0.1.0

Check the releases page on Github to see which version is current.

The user interface will be accessible on localhost, port 8000. Adjust the Docker run parameters as needed. If you need to change the port that Nomad is listening on, you should do it with -e NOMAD_ADDR environment variable that contains both hostname and port.

NOMAD_ADDR (IP or DNS name) should point to the correct location of your Nomad server. If you have a Node and Go environment you can also build the production version yourself.

Try

You need a running nomad server to try nomad ui:

nomad agent -server -client -bootstrap-expect 1 -data-dir /tmp/nomad

Now you can run nomad ui in other terminal (we assume you have it in PATH):

nomad-ui-<os>-<arch>

Open browser and visit http://127.0.0.1:3000.

Build

Project is built using make:

make

The resulting files will be stored in build/ folder:

build/webpack              - frontend webapp that can be served by any webserver
build/nomad-ui-<os>-<arch> - nomad-ui binary containing both the backend server and frontend webapp

By default it builds binary for host system. You can cross-compile and build binaries for different systems and architectures as well:

GOBUILD='linux-amd64 windows-386 <GOOS>-<GOARCH>' make

See docs for the whole list of available GOOS and GOARCH values.

Development

Just run npm install and npm start and start developing. Hot reloading is enabled, so any changes will be visible in the browser immediately. Unfortunately there are no tests yet.

If you would like to contribute please open a pull-request.

Credits

The awesome dashboard theme is created by Creative Tim and can be found here

nomad-ui's People

Contributors

iverberk avatar themalkolm avatar bkmit avatar jippi avatar okvic77 avatar

Watchers

Jeremy Rossi avatar James Cloos 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.