You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As new lib imported, there's problem by rebuilding images.
In this patchset, we add new image-clean scripts and re-org the scripts
and docs, to make the setup much easier to follow.
Change-Id: I4a9ba38546b0965902019f899974fd5f2772d09b
Signed-off-by: Baohua Yang <yangbaohua@gmail.com>
For the first time running, please setup the master node with the [setup.sh](https://github.com/hyperledger/cello/blob/master/scripts/setup.sh).
32
+
33
+
```sh
34
+
$ make setup-master
35
+
```
36
+
37
+
Make sure there is no error during the setup. Otherwise, please check the log msgs.
38
+
39
+
### Usage
40
+
41
+
#### Start/Stop/Restart
42
+
To start the whole services, please run
43
+
44
+
```sh
45
+
$ make start
46
+
```
47
+
48
+
To stop or restart the whole services, run `make stop` or `make restart`.
49
+
50
+
#### Redploy a service
51
+
To redeploy one specific service, e.g., dashboard, please run
52
+
53
+
```sh
54
+
$ make redeploy service=dashboard
55
+
```
56
+
57
+
#### Check Logs
58
+
To check the logs for all the services, please run
59
+
60
+
```sh
61
+
$ make logs
62
+
```
63
+
64
+
To check the logs for one specific service, please run
65
+
```sh
66
+
$ make log service=watchdog
67
+
```
68
+
69
+
Now you can access the `MASTER_NODE_IP:8080` to open the Web-based [operational dashboard](docs/dashboard.md).
70
+
71
+
72
+
### Configuration
73
+
The application configuration can be imported from file named `CELLO_CONFIG_FILE`.
74
+
75
+
By default, it also loads the `config.py` file as the configurations.
76
+
77
+
### Data Storage
78
+
The mongo container will use local `/opt/cello/mongo` directory for persistent storage.
79
+
80
+
Please keep it safe by backups or using more high-available solutions.
0 commit comments