Installation

For proper installation you need to clone project from git.

Note

It service installation assumes running in docker container, all commands below must be executed from /srv directory.

Database creation

To prepare database use storages tool provided by VisionLabs.

First launch and testing

If all previous actions are executed successfully, server is ready to work. To start server please launch run.py script. While start you can add arguments: server message port, path to config, suffix for log files (for different workers). By default 5210 port is used. Also it possible to run service with config from luna-configurator (see configurator).

Example:

./run.py --port 5210 --config ./configs/myconfig.conf --log_suffix 1

After server is started, testing is recommended. To perform testing execute command

python -m unittest tests.unittests_main

All tests should perform successfully.