-
Don't forget to download and configure the
config.yamlfile. -
Launch the application with a config:
-
For the
config.yamlfile located in the same directory as the application, use the command./datagram-intelligenceto launch the application. -
For the
config.yamlfile located in a different directory from the application, use the command./datagram-intelligence -config path/config.yamlto launch the application. -
Note: It is recommended to use the
config.yamlfile placed in the same directory as the application.
-
-
Stop and restart the application:
-
To stop the application, use the command:
./datagram-intelligence -cmd stop -
To restart the application, use the command:
./datagram-intelligence -cmd restart
-
-
Check the application health:
-
To check the health of the application, use the command:
curl your_domain:port/api/up -
Note:
your_domainis the IP or domain of the server, and similarly forport. These are configured in theHTTPServersection of theconfig.yamlfile.
-
-
Check gRPC:
-
Install grpcurl, refer to the documentation at
https://github.com/fullstorydev/grpcurl -
After installation, use the command
grpcurl -plaintext your_domain:port chat.Health/Check -
Example: grpcurl -plaintext localhost:50057 chat.Health/Check`
-
-
After All:
-
URL to call the API: http://localhost:3007/api/
-
URL to connect via gRPC: http://localhost:50057/
-
Datagram-Group/datagram-intelligence-release
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|