README.md edited online with Bitbucket

This commit is contained in:
Daniel afx 2018-03-10 23:23:47 +00:00
parent fe7fbbd3ee
commit 5e2979c6ef

View file

@ -3,19 +3,23 @@ Python RESTful API for managing a grid of vm slaves
##Installation instructions:
```
1. sudo pip3 install -r requirements.txt
2. create config.ini with the following format:
3. chmod +x start.sh
4. create nginx vhost via the provided template files:
1. virtualenv -p python3 appserver
2. source appserver/bin/activate
3. cd appserver
4. git clone https://deflax@bitbucket.org/deflax/proxmaster.git
5. cd proxmaster
6. pip3 install -r requirements.txt
7. create nginx vhost and configuration file via the provided template files:
- config.ini.dist
- nginx_example_vhost.txt
5. make sure this iptables rule is included:
iptables -A tcp_inbound -p TCP --match multiport --dports 6900:8000 -j ACCEPT #vnc range
6. apt install letsencrypt
7. generate letsencrypt cert using letsencrypt tool and add
8. make sure this iptables rule is included:
iptables -A tcp_inbound -p TCP --match multiport --dports 7000:9999 -j ACCEPT #vnc range
9. apt install letsencrypt
10. generate letsencrypt cert using letsencrypt tool and add
00 00 1 * * root /etc/init.d/nginx stop && letsencrypt renew && /etc/init.d/nginx start
to /etc/crontab
8. chmod 705 /etc/letsencrypt/archive ; chmod 705 /etc/letsencrypt/live
11. chmod 705 /etc/letsencrypt/archive ; chmod 705 /etc/letsencrypt/live
start:
1. crontab -e