Launch configuration

After dependencies installation configuration file should be set. File is placed in “./luna_video_manager/configs/config.conf”.

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 5230 port is used. Also it possible to run service with config from luna-configurator (see configurator).

Example:

./run.py --port 5230 --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.