Hi, I’ve been trying to setup the 03 frontend on my windows virtual machine. I was able to get the backend running thankfully but I can’t seem to get the frontend to work.
I used npx openmrs build and npx openmrs assemble to setup a distribution and when I try to host it on IIS, I get a blank page.
Has anyone come across this? Any help would be greatly appreciated
If you have the backend running, the easiest thing to do would be to use module-spa to serve the frontend from the frontend subfolder of your OpenMRS Data directory.
If you really need to use IIS, you’re a bit on your own, though our nginx configand this one may be useful reference. As long as IIS serves index.html for a directory, it should somewhat work, though I think we rely on the fact that / gets redirected to /home (or more usually that /openmrs/spa/ becomes /openmrs/spa/home which may explain things…