0.5.1 • Published 8 years ago

clusty v0.5.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

clusty

Clusty is a command-line utility for running many node applicates as a single process

Use

Install clusty globally:

npm install -g clusty

You run clusty at the root path of a number of applications. Clusty allows you to start, stop or watch your cluster. It will log output files to ~/.clusty and you can execute tail operations on the log files.

Given an application structure as shown below, you would execute clusty commands with the working directory as app.

\app
|__\service-a
|__\service-b
|__\service-c

Inside of the root application directoy, you can run clusty to manage the sub-services:

# start the cluster of services
clusty start

# stop the cluster of service
clusty stop

You can also execute any shell script across all directories

clusty <script>
clusty 'npm install'
clusty 'npm run build'

You can see what is running in the cluster

clusty ps

You can look at the log files being generated by your application:

clusty tail
clusty tail <uid|index>
clusty tail evil_tesla

You can stream the tail as well

clusty tail -f
clusty tail -f <uid|index>
clusty tail -f evil_tesla
0.5.1

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago