Installation¶
For proper installation you need to clone project from git.
Surroundings¶
The service can be installed on Windows 10 and CentOS 9 (not tested on other system versions).
Required predefined dependencies:
- Redis via yum (sudo yum install redis) 
- Python v. 3.13 or higher is required. 
- It is strongly recommended to create virtual surroundings for python dependencies installation. 
- Python setuptools module can be installed via pip (pip install setuptools). 
Dependencies installation¶
After surroundings installation launch pip install with “-r requirements.txt” parameter.
pip install -r requirements.txt
Configuration¶
After dependencies installation configuration file should be set. File is placed in “./luna_sender/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, servicing the server. By default 5080 port is used. Example:
./run.py --port=5081 --config=./configs/myconfig.conf
After server is started, testing is recommended. To perform testing execute command
python -m unittest tests.unittests_main
All tests should perform successfully.