The photo loader for LizaAlert project. More info in the docs folder.
Description of the Archicture - russian documentation
-
the client upload files to server
-
the server call ML model and check photo
-
the server save result to redis
-
the client check the result in the redis
pip install -r requrimentschange config file modules/config.py
'port' : {
'prodaction' : [8000],
'stage' : [8000],
'localhost' : [8001]
},
'nginx_conf' : {
'localhost': 'api_servers.conf',
'stage': '/etc/nginx/api_servers.conf',
'prodaction_old': '/etc/nginx/api_servers.conf' ,
'prodaction': 'api_servers.conf',
}
./api start # start server on port
mode=prodaction # output server
server 127.0.0.1:8000; # output server
./api stop # stop server
./api status # check status
