If you are trying to setup Bahmni on the newer Apple Silicon M1 chipsets, then you might run into some troubles.
Bahmni Vagrant (using VirtualBox) are not going to run on M1, since VirtualBox is designed for Intel x84 architectures, and M1 isn’t built on Intel-x84. So, that is no longer an option for those folks. We currently don’t have any plans of making Vagrant/Virtual box versions for MacM1.
Run Bahmni on Docker. This works (although @angshuonline did struggle setting it up on his new M1 machine). JIRA ticket which added this support is here: BAH-1650. If you want to run an older version of Bahmni on docker, then you will need to dockerize that version (reference: Older Bahmni docker). Most of the Bahmni team has now shifted to Docker based development workflow.
Run Bahmni on a Linux cloud machine (will require additional steps of deploying the jar/war file over SFTP after each development build, which can feel painful).
Setup code locally on your laptop for development. Build war, omod, etc locally.
Transfer this file onto the remote server (using sftp).
(Pretty painful!)
This is the same as running Bahmni on a VM (local Linux machine). But now, instead of running it on Local Linux, you are running it on a different cloud machine.
I would suggest to first try the docker option instead.
UPDATE: Quite a few folks are having trouble starting/running OpenMRS on Apple Mac M1 machines. This is under investigation, and once a dependable fix is in place, we will update this thread with more information. Fingers crossed this is available soon!!
UPDATE: We have updated bahmni/openmrs image to use openmrs/openmrs-core as the base image which supports ARM architecture. Now running Bahmni with Docker on Mac M1/M2 should be smooth.