bhima icon indicating copy to clipboard operation
bhima copied to clipboard

Improve the documentation for running in production

Open jniles opened this issue 2 years ago • 2 comments

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:

  1. Using nginx as a proxy so that users don't have to type the :$PORT after the url in the web browser.
  2. Setting a strong SESS_SECRET variable in the .env
  3. Setting up backups using cron.

Some optional stuff we might consider adding:

  1. Setting up .my.cnf so that system administration is easier.
  2. Encouraging systemd over pm2.

jniles avatar Oct 27 '23 16:10 jniles

@jniles Shouldn't this have been closed by your recent Debian set up PR?

jmcameron avatar Dec 01 '23 08:12 jmcameron

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.

jniles avatar Dec 01 '23 13:12 jniles

I did get the application working with docker-compose, so I'm closing this issue.

jniles avatar Jun 23 '24 16:06 jniles