635 B
635 B
- clone repo
- pip install -r requirements.txt
- install gunicorn and nginx
- move this nginx.conf to /etc/nginx (as of now, it's not working)
- make whatever user nginx runs as (in this case, massiveatoms) the owner of calibredir
- give execute permissions to parent of calibredir
Slight issues with this atm:
- allowed host in settings.json needs to have the ip/host/thing it will be used, as does line 47 from nginx.conf
- User might need to be edited in nginx.conf, now it's just my user acc. This affectd step 4-6
Suggestions:
- We might want to use sockets instead of ip/port?
- logging
- autostart gunicorn/nginx