#### Step 2: Start the `radiks-server` in the command line to confirm your installation.
#### Step 2: Start the `radiks-server` in the command line to confirm your installation.
```bash
```bash
$ radiks-server
radiks-server
```
```bash
(node:37750) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option `useUnifiedTopology: true` to the MongoClient constructor.
(node:37750) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option `useUnifiedTopology: true` to the MongoClient constructor.
radiks-server is ready on http://localhost:1260
radiks-server is ready on http://localhost:1260
```
```
@ -106,7 +109,10 @@ yarn add radiks
#### Step 1: Start the mongo shell application.
#### Step 1: Start the mongo shell application.
```bash
```bash
$ mongo
mongo
```
```bash
MongoDB shell version v4.2.0
MongoDB shell version v4.2.0
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
This data is public and unencrypted. The same works for encrypted data. Only the holder of the private key used for encryption would be able to decrypt the data.
This data is public and unencrypted. The same works for encrypted data. Only the holder of the private key used for encryption would be able to decrypt the data.
{"message":"Config updated -- you should reload your Gaia hub now."}
```
```json
{ "message": "Config updated -- you should reload your Gaia hub now." }
```
```
If the settings were successfully applied, the method returns a message to reload your Gaia hub. You can set multiple drivers' settings with a single call. For example, you can set:
If the settings were successfully applied, the method returns a message to reload your Gaia hub. You can set multiple drivers' settings with a single call. For example, you can set:
@ -217,19 +227,32 @@ values, you get an HTTP 400 error.
Use the `/v1/admin/config` endpoint to read and write storage driver settings. To get the current driver settings, you would run:
Use the `/v1/admin/config` endpoint to read and write storage driver settings. To get the current driver settings, you would run:
{"message":"Config updated -- you should reload your Gaia hub now."}
```
```json
{ "message": "Config updated -- you should reload your Gaia hub now." }
```
```
## View logs for the hub or admin service
## View logs for the hub or admin service
The logs for each Gaia service are maintained by their respective Docker containers. To view the log for a particular service, use the `docker logs` command. For example, to get the logs for the hub:
The logs for each Gaia service are maintained by their respective Docker containers. To view the log for a particular service, use the `docker logs` command. For example, to get the logs for the hub: