Improve the documentation for running in production
The BHIMA documentation for installation is pretty good and has seen several revisions. It is found at https://docs.bhi.ma/en/for-developers/installing-bhima.html.
This documentation is mostly meant for getting developers up and running, and isn't ideal for running in production. We should add a separate set of instructions for running in production that covers:
- Using
nginxas a proxy so that users don't have to type the :$PORTafter the url in the web browser. - Setting a strong
SESS_SECRETvariable in the.env - Setting up backups using
cron.
Some optional stuff we might consider adding:
- Setting up
.my.cnfso that system administration is easier. - Encouraging
systemdoverpm2.
@jniles Shouldn't this have been closed by your recent Debian set up PR?
I suppose it could be. I would like to keep working on these issues though. It probably won't be as relevant if I can get the server to build with docker-compose.
I did get the application working with docker-compose, so I'm closing this issue.