Run The World. Command aggregator output. Define many services watch them in one place.

How to use it

install

go install github.com/flowHater/rtw

declare all your command/service in a services.json

{
  "rootPath": "/home/myuser/Src/",
  "services": [
    {
      "path": "service-a",
      "command": "npm",
      "args": ["run", "start"],
      "name": "service-a:api"
    },
    {
      "path": "service-a",
      "command": "npm",
      "args": ["run", "start:worker1"],
      "name": "service-a:worker1"
    },
    {
      "path": "service-b",
      "command": "npm",
      "args": ["run", "start:api"],
      "name": "service-b:api"
    },
    {
      "path": "service-b",
      "command": "go",
      "args": ["run", "./cmd/worker37"],
      "name": "service-b:worker37"
    },
    {
      "path": "front",
      "command": "yarn",
      "args": ["start"],
      "name": "front"
    }
  ]
}

run

rtw --file service.json [--stopOnError]

Owner
Similar Resources

Orders - An example of gin contains many useful features

Orders - An example of gin contains many useful features

Go Gin Example An example of gin contains many useful features 简体中文 Installation

Feb 22, 2022

Read RFID card data so Protospace directors can assign them to users!

RFID Reader Dependencies This application was developed with: go1.17.5 linux/amd64 xclip version 0.13 (if you're on Linux) Find go for your OS and arc

Dec 15, 2021

Takes a list of poker hands for two players in STDIN and scores them

Poker Hand Sorter Takes a list of poker hands for two players in STDIN and scores them. Returns the number of hands won by each player. Prerequisites

Jan 16, 2022

Raspberry Pi alarm clock for childs, to let them know whether they can wake up or stay in bed

Miveil Raspberry Pi alarm clock for childs, to let them know whether they can wake up or stay in bed. The idea was to have a simple device that let my

Apr 14, 2022

This example implements a basic example of how to create your own modules, and how to call them from other modules

This example implements a basic example of how to create your own modules, and how to call them from other modules. In addition, an example of how to do unit tests is developed.

Feb 1, 2022

Exfiltrates join/part events from a dedicated Valheim log and transmits them to a Herald webhook.

Exfiltrates join/part events from a dedicated Valheim log and transmits them to a Herald webhook.

Feb 6, 2022

Go library for Common Lisp format style output

format This library has the goal to bring the Common Lisp format directive to Go. This is work-in-progress, see the summary implementation table below

Jul 7, 2020

A cli for fetching the status and full output of CircleCI jobs.

CCI A cli for fetching the status and full output of CircleCI jobs. Install go install github.com/tmessi/cci/cci@latest Usage cci is designed to have

Oct 29, 2021

rsync wrapper (or output parser) that pushes metrics to prometheus

rsync-prom An rsync wrapper (or output parser) that pushes metrics to prometheus. This allows you to then build dashboards and alerting for your rsync

Dec 11, 2022
Related tags
The new home of the CUE language! Validate and define text-based and dynamic configuration

The CUE Data Constraint Language Configure, Unify, Execute CUE is an open source data constraint language which aims to simplify tasks involving defin

Dec 31, 2022
The primary place where Optimism works on stuff related to Optimistic Ethereum
The primary place where Optimism works on stuff related to Optimistic Ethereum

The Optimism Monorepo TL;DR This is the primary place where Optimism works on stuff related to Optimistic Ethereum. Documentation Extensive documentat

Dec 16, 2022
Colorize (highlight) `go build` command output
Colorize (highlight) `go build` command output

colorgo colorgo is a wrapper to go command that colorizes output from go build and go test. Installation go get -u github.com/songgao/colorgo Usage c

Dec 18, 2022
🏃‍♂️ A new way to execute commands and manipulate command output in Go

??‍♂️ A new way to execute commands and manipulate command output in Go

Nov 11, 2022
Example hello-world service uses go-fx-grpc-starter boilerplate code

About Example hello-world service uses https://github.com/srlk/go-fx-grpc-starter boilerplate code. Implementation A hello world grpc service is creat

Nov 14, 2021
This is a Hello World, Swedish edition

pdfhw This is a Hello World, Swedish edition for https://github.com/balacode/one-file-pdf "Hej räksmörgås" does not really translate to Hello World. B

Dec 4, 2021
Hello World (Golang)

Name(hello-world-go) サブパッケージをインポートして、サブパッケージに属する関数を使用して HelloWorld を表示する。

Dec 28, 2021
QuickAbeHiroshi - The golang program to open a web site which is the fastest in the world
QuickAbeHiroshi - The golang program to open a web site which is the fastest in the world

The golang program to open a web site which is the fastest in the world.

Jan 2, 2022
Onmap - Go package onmap puts pins on a world map image

onmap Go package onmap puts pins on a world map image. The images (mercator.jpg,

Feb 3, 2022
Provides a rest API that used to count how many times a certain repository of your github has been cloned.
Provides a rest API that used to count how many times a certain repository of your github has been cloned.

traffic-clones-api An apiserver for https://shields.io/endpoint. Description Provides a rest API that used to count how many times a certain repositor

Dec 19, 2021