I’m trying to get my module testing with multi-site setup. How would this be done using the dockers? I’m currently using development-easy docker.
Brad
I’m trying to get my module testing with multi-site setup. How would this be done using the dockers? I’m currently using development-easy docker.
Brad
Just create your multisite as if on hosted server thus using the site=??? query in your openemr url for the multisite access.
@brad ,
The easy docker development environment has specific tools to make testing multisite easier. Check out items 11-13 in ‘Index for Advanced Use of OpenEMR Development Docker Environment’ in the openemr/CONTRIBUTING.md at master · openemr/openemr · GitHub document for details.
If you are using the openemr-cmd command then even easier to do using the commands in the multisite management
section:
multisite-management:
lm, list-multisites List multisites
swtm, set-swagger-to-multisite Direct swagger api testing suite to use a multisite <multisite>
gmb, generate-multisite-bank Create bank of multisites cloned from default <number sites>
em, enable-multisite Turn on support for multisite in setup.php
dm, disable-multisite Turn off support for multisite in setup.php
Thanks for pointing me in the right direction!