Split up into multiple packages with Lerna

Split up codebase into the packages @clsterio/lib, @clusterio/master,
@clusterio/slave, and @clusterio/ctl using lerna to manage them.  This
will allow deployment to use only the parts needed reducing install
size, and better separate the code into shared library, master, slave
and control.
This commit is contained in:
Hornwitser committed 2020-09-21 18:00:07 +02:00
1 parent 198d5c344b
commit bf5a4a8a9c
133 files changed
+367 -259

No files matched your search

+5 -5
View File
@@ -3,16 +3,16 @@ Managing a Cluster
Clusterio clusers are managed through the master server by using the
`clusterctl` command line interface which is invoked by running
`node clusterctl <command>` in the clusterio directory. This document
uses the shorthand `ctl> foo` to indicate `node clusterctl foo` should
`npx clusterctl <command>` in the clusterio directory. This document
uses the shorthand `ctl> foo` to indicate `npx clusterctl foo` should
be executed. Mandatory parameters are shown in `<angles bracket>` and
optional pameters are in `[square brackets]`.
Before `clusterctl` can be used it needs to be configured for the
cluster it will connect to. The easiest way to do this is to run
`node master bootstrap create-ctl-config <username>` on the master
server, which creates the necessary `config-control.json` for managing
the cluster as the given user.
`npx clusteriomaster bootstrap create-ctl-config <username>` on the
master server, which creates the necessary `config-control.json` for
managing the cluster as the given user.
Slaves