3,072
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
Line 238: | Line 238: | ||
=== Using Standalone Application === | === Using Standalone Application === | ||
The | The engagement analytics service can also be used outside of the docker container. You can install it by running the following command from the project directory: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 247: | Line 247: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
usage: | engagement-analytics --help | ||
usage: engagement-analytics [-h] [--port PORT] [--host HOST] --config-file CONFIG_FILE [--retry] | |||
optional arguments: | |||
-h, --help show this help message and exit | -h, --help show this help message and exit | ||
--port PORT Port for server | --port PORT Port for server | ||
--host HOST Server ip address | --host HOST Server ip address | ||
-- | --config-file CONFIG_FILE | ||
JSON file | Configuration JSON file | ||
--retry Keep trying to start the server if it fails initially | |||
</syntaxhighlight> | </syntaxhighlight> | ||
To start the service in address 127.0.0.1 and port | To start the service in address 127.0.0.1 and port 5053 just run: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
engagement-analytics | |||
</syntaxhighlight> | </syntaxhighlight> | ||
If you want to serve in a different port or address, use the '''--port''' and '''--host''' options. | If you want to serve in a different port or address, use the '''--port''' and '''--host''' options. | ||
If you want to start with a configuration, you can use the '''-- | If you want to start with a configuration, you can use the '''--config-file''' argument to specify the path to your configuration. | ||
<noinclude> | <noinclude> |