@edmcdonagh, is this at a stage where you'd like me to follow the documentation? I have a Linux install of OpenREM that just uses the manage.py runserver at the moment.
You could follow along as far as it goes if you like, but it is not finished. I need to add starting Gunicorn as a auto-starting systemd thing and configuring the timeouts for both. Plus log locations and troubleshooting.
Any comments welcome.
I'll wait for these docs to be complete before I try them out.
First full draft finished. Any comments welcome - could probably do with a consistency check if nothing else. Refs #596.
I've just used the documentation to setup nginx on Ubuntu. Here's a list of what caused a little bit of bother:
When adding the static files path to local_settings.py there's a comment in local_settings.py to terminate the path with a /. Your document doesn't end in a /. I put one in, and everything worked fine.
Allowed hosts section: it would be a good idea to state that these changes are required in local_settings.py
When I got to the section about starting Gunicorn automatically the service failed to start. This was because I was running the service as www-data rather than my own user; it was also related to the fact that I hadn't updated local_settings.py with the extractor log details. Once I changed the user to my own name, and updated local_settings.py it worked perfectly.
Added in trailing slash for consistency. Refs #596