This service is an automatic scaler for Liara's cloud infrastructure and does not require anything to run. It provides the ability to automatically check the app scale every few seconds and zoom in or out.
1-First of all, make sure that Python is installed on your system
2-To connect to the program, you must receive your token from Liara
3- After receiving the token from Liara, change the token in the token variable in the main.py file
4-Your application conainer runs once every 1000 seconds and the scale of the program changes automatically
5-If the program needs to increase the resources, the scale will be bigger, otherwise, if it needs to reduce the resources, the scale of the program will be as small as possible.
To run tests, run the following command
python main.py