Giter Site home page Giter Site logo

choreograph-cli's Introduction

THIS RESPOSITORY IS ONLY FOR DEMONSTRATION. THE PROJECT IS DEAD. PLEASE DO NOT USE.

choreograph-cli [Walmart Labs hackathon submission]

An OSS tool to orchestrate docker based workers. Comes with a terminal UI and an http API.

Walmart Labs Hackathon submission

Note: Repository updated to add new video link after my youtube link was removed because of length violation.

Video Demo

VIDEO: https://www.youtube.com/watch?v=GzpasVWDx6g

Files used in the demo are given here.

.choreo.yml

payload/file1.json

payload/file2.txt

payload/app.py

Setup Instructions

  1. Install docker
  2. Make sure your $USER is in docker group: sudo groupadd docker then sudo usermod -aG docker $USER then logout and login
  3. Install nodejs, npm
  4. npm i -g choreograph
  5. Run the command: choreo to enter choreograph-cli shell.

Note: Make sure the user deploying this application is in the "docker" group. That is, the user can use docker without sudo access.

sudo groupadd docker

sudo usermod -aG docker $USER

Then logout and log back in.

For initial setup, run the command, setup after enter choreograph-cli shell.

This setup should be done on each node that is to be used.

Options:

Commands:

help [command...]  Provides help for a given command.
exit               Exits application.
verify             Verifies the config file.
setup              Setup parent docker container
run                Add a new job
list               Lists all the running jobs and their services
stop               Stop a job
monitor            Displays a dashboard for the job

Documentation:

Open http://localhost:6003 to view the documentation for writing .choreo.yml file to configure services.

Link To Parent Container Repo

https://github.com/tocttou/choreograph-parent

choreograph-cli's People

Contributors

tocttou avatar

Watchers

 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.