create motus user sudo yum install -y python3 git nginx redis cifs-utils policycoreutils-python-utils sudo systemctl enable redis sudo systemctl start redis git clone ... pip3 install --user pipenv cd motus_remote pipenv install --dev # or without --dev if prod cp /usr/bin/zipinfo test-file pipenv shell Start debuging in vscode In a new window as the motus user in /home/motus/motus-remote/web pipenv run rq worker motus from the pipenv shell windows python test-debug.py For prodution sudo cp /home/motus/motus_remote/systemd/* /etc/systemd/system sudo systemctl daemon-reload sudo systemctl enable --now gunicorn.socket sudo -u nginx curl --unix-socket /run/gunicorn.sock http cd /home/motus/motus_remote/nginx/selinux sudo bash compile.sh cd ../.. sudo cp /home/motus/motus_remote/nginx/nginx.conf /etc/nginx sudo systemctl restart nginx sudo systemctl enable rqworker@1 sudo systemctl start rqworker@1 # Report above 2 for number of concurrent hash checks python test-prod.py
Description
Languages
Python
97.5%
Shell
2.5%