Bhima is a free, open source accounting and hospital information management system (HIMS) tailored for rural hospitals in Africa. We are an international team based in the Democratic Republic of the Congo.
NOTE: these steps have been adapted from ODK Aggregate’s instructions found here.
To use this setup, you must able to link a domain name to the machine’s IP address. If you don’t own a domain, services such as FreeDNS offer free sub-domains under a range of domains.
If you have not already created a DigitalOcean account, use ODK’s referral link to do so.
DigitalOcean will give you $100 of credit to spend during the first 60 days so that you can try things out. Once you have spent $25 with them, ODK will get $25 to put towards their hosting costs. They are a fantastic tool set we depend on and would be honored if you supported them.
Log into DigitalOcean and create a new Droplet.
Select the distribution for your new Droplet: Select the option 18.04.x x64 from the Ubuntu box.
Select a size fit for your intended usage. The $5 Standard Droplet should be enough for light BHIMA use. If you find yourself needing more, DigitalOcean makes it easy to resize to a bigger Droplet.
If you would like automatic weekly backups, enable them.
You will not need block storage.
Select a datacenter region physically close to where you are.
Under Select additional options, check the User data checkbox. Copy and paste the contents of this cloud-init script.
In the Choose a hostname section, enter the domain name (e.g., your.domain). This hostname will be used by the Cloud-Config script to configure your server’s HTTPS support.
You will not need to add public SSH keys (unless you know what that is and you want to).
Click on the Create button. The Droplet takes a few seconds, the actual BHIMA installation will take up to 10 minutes to complete.
DigitalOcean Droplets use IP addresses which can change if you destroy the machine. To ensure your BHIMA install will always be reachable using the same IP address, use a Floating IP by following these instructions.
From the DigitalOcean Control Panel, click the name of your droplet, then select Access from the left navigation. Click the Launch Console button to open a web-based console session.
sudo certbot run --nginx --non-interactive --agree-tos -m $YOUR_EMAIL --redirect -d $YOUR_DOMAIN
YOUR_EMAIL
and YOUR_DOMAIN
with your email address and your domain.Go to https://your.domain and check that BHIMA is running.
You can now start setting up your enterprise information by clicking the button install after choosing your language.