|
| 1 | +ACTION: apk add --no-cache postfix stunnel |
| 2 | +ACTION_SH: echo 'error_log = <WORK>/web/log/logPhp.txt' > /etc/php85/conf.d/99-demo-farm-error-log.ini |
| 3 | +ACTION: git clone --branch master --depth 1 https://github.com/openemr/openemr.git |
| 4 | +ACTION_SH: rm -fr "<WORK>/web/openemr"/* |
| 5 | +ACTION_SH: rsync --recursive --exclude .git <WORK>/git/openemr/* <WORK>/web/openemr/ |
| 6 | +ACTION: rm -fr <WORK>/git/openemr |
| 7 | +ACTION: chmod 666 <WORK>/web/openemr/sites/default/sqlconf.php |
| 8 | +ACTION: chmod -R a+w <WORK>/web/openemr/sites/default/documents |
| 9 | +ACTION_CAPTURE: cat /home/openemr/github-key |
| 10 | +ACTION_CAPTURE: curl -H Authorization:\ token\ \<DRY_RUN_GITHUB_KEY\> https://api.github.com/rate_limit |
| 11 | +ACTION_SH: composer install --no-dev &>> <WORK>/web/log/logSetup.txt |
| 12 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 13 | +ACTION_SH: npm run build &>> <WORK>/web/log/logSetup.txt |
| 14 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 15 | +ACTION_SH: composer global require phing/phing &>> <WORK>/web/log/logSetup.txt |
| 16 | +ACTION_SH: /root/.composer/vendor/bin/phing vendor-clean &>> <WORK>/web/log/logSetup.txt |
| 17 | +ACTION_SH: /root/.composer/vendor/bin/phing assets-clean &>> <WORK>/web/log/logSetup.txt |
| 18 | +ACTION_SH: composer global remove phing/phing &>> <WORK>/web/log/logSetup.txt |
| 19 | +ACTION_SH: composer dump-autoload -o &>> <WORK>/web/log/logSetup.txt |
| 20 | +ACTION_SH: sed -e 's@^exit;@ @' <<WORK>/web/openemr/contrib/util/installScripts/InstallerAuto.php ><WORK>/web/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 21 | +ACTION_SH: su -p -s /bin/sh "root" -c "php -f <WORK>/web/openemr/contrib/util/installScripts/InstallerAutoTemp.php rootpass=hey server=mysql loginhost=% login=seven pass=seven dbname=seven" >> <WORK>/web/log/logSetup.txt |
| 22 | +ACTION: rm -f <WORK>/web/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 23 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e UPDATE\ seven.globals\ SET\ gl_value=\'https://seven.openemr.io\'\ WHERE\ gl_name=\'site_addr_oath\' |
| 24 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e $'\n UPDATE seven.globals SET gl_value=\'1\' WHERE gl_name=\'portal_onsite_two_enable\';\n UPDATE seven.globals SET gl_value=\'1\' WHERE gl_name=\'rest_api\';\n UPDATE seven.globals SET gl_value=\'1\' WHERE gl_name=\'rest_fhir_api\';\n UPDATE seven.globals SET gl_value=\'1\' WHERE gl_name=\'rest_portal_api\';\n UPDATE seven.globals SET gl_value=\'3\' WHERE gl_name=\'oauth_password_grant\';\n UPDATE seven.globals SET gl_value=\'1\' WHERE gl_name=\'rest_system_scopes_api\';\n UPDATE seven.globals SET gl_value=\'3\' WHERE gl_name=\'ccda_alt_service_enable\';\n ' |
| 25 | +ACTION: chmod 644 <WORK>/web/openemr/sites/default/sqlconf.php |
| 26 | +ACTION: mkdir <WORK>/web/openemr/sites/default/procedure_results |
| 27 | +ACTION: chmod -R a+w <WORK>/web/openemr/sites/default/procedure_results |
| 28 | +ACTION: sed -i s@/apis/default/@/openemr/apis/default/@ <WORK>/web/openemr/swagger/openemr-api.yaml |
| 29 | +ACTION: sed -i s@/oauth2/default/authorize@/openemr/oauth2/default/authorize@ <WORK>/web/openemr/swagger/openemr-api.yaml |
| 30 | +ACTION: sed -i s@/oauth2/default/token@/openemr/oauth2/default/token@ <WORK>/web/openemr/swagger/openemr-api.yaml |
| 31 | +ACTION: rm -f <WORK>/web/openemr/library/openflashchart/php-ofc-library/ofc_upload_image.php |
| 32 | +ACTION: git clone --branch master --depth 1 https://github.com/openemr/openemr.git |
| 33 | +ACTION_SH: rm -fr "<WORK>/web/a/openemr"/* |
| 34 | +ACTION_SH: rsync --recursive --exclude .git <WORK>/git/openemr/* <WORK>/web/a/openemr/ |
| 35 | +ACTION: rm -fr <WORK>/git/openemr |
| 36 | +ACTION: chmod 666 <WORK>/web/a/openemr/sites/default/sqlconf.php |
| 37 | +ACTION: chmod -R a+w <WORK>/web/a/openemr/sites/default/documents |
| 38 | +ACTION_CAPTURE: cat /home/openemr/github-key |
| 39 | +ACTION_CAPTURE: curl -H Authorization:\ token\ \<DRY_RUN_GITHUB_KEY\> https://api.github.com/rate_limit |
| 40 | +ACTION_SH: composer install --no-dev &>> <WORK>/web/log/logSetup.txt |
| 41 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 42 | +ACTION_SH: npm run build &>> <WORK>/web/log/logSetup.txt |
| 43 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 44 | +ACTION_SH: composer global require phing/phing &>> <WORK>/web/log/logSetup.txt |
| 45 | +ACTION_SH: /root/.composer/vendor/bin/phing vendor-clean &>> <WORK>/web/log/logSetup.txt |
| 46 | +ACTION_SH: /root/.composer/vendor/bin/phing assets-clean &>> <WORK>/web/log/logSetup.txt |
| 47 | +ACTION_SH: composer global remove phing/phing &>> <WORK>/web/log/logSetup.txt |
| 48 | +ACTION_SH: composer dump-autoload -o &>> <WORK>/web/log/logSetup.txt |
| 49 | +ACTION_SH: sed -e 's@^exit;@ @' <<WORK>/web/a/openemr/contrib/util/installScripts/InstallerAuto.php ><WORK>/web/a/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 50 | +ACTION_SH: su -p -s /bin/sh "root" -c "php -f <WORK>/web/a/openemr/contrib/util/installScripts/InstallerAutoTemp.php rootpass=hey server=mysql loginhost=% login=seven_a pass=seven_a dbname=seven_a" >> <WORK>/web/log/logSetup.txt |
| 51 | +ACTION: rm -f <WORK>/web/a/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 52 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e UPDATE\ seven_a.globals\ SET\ gl_value=\'https://seven.openemr.io\'\ WHERE\ gl_name=\'site_addr_oath\' |
| 53 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e $'\n UPDATE seven_a.globals SET gl_value=\'1\' WHERE gl_name=\'portal_onsite_two_enable\';\n UPDATE seven_a.globals SET gl_value=\'1\' WHERE gl_name=\'rest_api\';\n UPDATE seven_a.globals SET gl_value=\'1\' WHERE gl_name=\'rest_fhir_api\';\n UPDATE seven_a.globals SET gl_value=\'1\' WHERE gl_name=\'rest_portal_api\';\n UPDATE seven_a.globals SET gl_value=\'3\' WHERE gl_name=\'oauth_password_grant\';\n UPDATE seven_a.globals SET gl_value=\'1\' WHERE gl_name=\'rest_system_scopes_api\';\n UPDATE seven_a.globals SET gl_value=\'3\' WHERE gl_name=\'ccda_alt_service_enable\';\n ' |
| 54 | +ACTION: chmod 644 <WORK>/web/a/openemr/sites/default/sqlconf.php |
| 55 | +ACTION: mkdir <WORK>/web/a/openemr/sites/default/procedure_results |
| 56 | +ACTION: chmod -R a+w <WORK>/web/a/openemr/sites/default/procedure_results |
| 57 | +ACTION: sed -i s@/apis/default/@/a/openemr/apis/default/@ <WORK>/web/a/openemr/swagger/openemr-api.yaml |
| 58 | +ACTION: sed -i s@/oauth2/default/authorize@/a/openemr/oauth2/default/authorize@ <WORK>/web/a/openemr/swagger/openemr-api.yaml |
| 59 | +ACTION: sed -i s@/oauth2/default/token@/a/openemr/oauth2/default/token@ <WORK>/web/a/openemr/swagger/openemr-api.yaml |
| 60 | +ACTION: rm -f <WORK>/web/a/openemr/library/openflashchart/php-ofc-library/ofc_upload_image.php |
| 61 | +ACTION: git clone --branch master --depth 1 https://github.com/openemr/openemr.git |
| 62 | +ACTION_SH: rm -fr "<WORK>/web/b/openemr"/* |
| 63 | +ACTION_SH: rsync --recursive --exclude .git <WORK>/git/openemr/* <WORK>/web/b/openemr/ |
| 64 | +ACTION: rm -fr <WORK>/git/openemr |
| 65 | +ACTION: chmod 666 <WORK>/web/b/openemr/sites/default/sqlconf.php |
| 66 | +ACTION: chmod -R a+w <WORK>/web/b/openemr/sites/default/documents |
| 67 | +ACTION_CAPTURE: cat /home/openemr/github-key |
| 68 | +ACTION_CAPTURE: curl -H Authorization:\ token\ \<DRY_RUN_GITHUB_KEY\> https://api.github.com/rate_limit |
| 69 | +ACTION_SH: composer install --no-dev &>> <WORK>/web/log/logSetup.txt |
| 70 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 71 | +ACTION_SH: npm run build &>> <WORK>/web/log/logSetup.txt |
| 72 | +ACTION_SH: npm install --unsafe-perm &>> <WORK>/web/log/logSetup.txt |
| 73 | +ACTION_SH: composer global require phing/phing &>> <WORK>/web/log/logSetup.txt |
| 74 | +ACTION_SH: /root/.composer/vendor/bin/phing vendor-clean &>> <WORK>/web/log/logSetup.txt |
| 75 | +ACTION_SH: /root/.composer/vendor/bin/phing assets-clean &>> <WORK>/web/log/logSetup.txt |
| 76 | +ACTION_SH: composer global remove phing/phing &>> <WORK>/web/log/logSetup.txt |
| 77 | +ACTION_SH: composer dump-autoload -o &>> <WORK>/web/log/logSetup.txt |
| 78 | +ACTION_SH: sed -e 's@^exit;@ @' <<WORK>/web/b/openemr/contrib/util/installScripts/InstallerAuto.php ><WORK>/web/b/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 79 | +ACTION_SH: su -p -s /bin/sh "root" -c "php -f <WORK>/web/b/openemr/contrib/util/installScripts/InstallerAutoTemp.php rootpass=hey server=mysql loginhost=% login=seven_b pass=seven_b dbname=seven_b" >> <WORK>/web/log/logSetup.txt |
| 80 | +ACTION: rm -f <WORK>/web/b/openemr/contrib/util/installScripts/InstallerAutoTemp.php |
| 81 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e UPDATE\ seven_b.globals\ SET\ gl_value=\'https://seven.openemr.io\'\ WHERE\ gl_name=\'site_addr_oath\' |
| 82 | +ACTION: mariadb --skip-ssl -h mysql -u root -phey -e $'\n UPDATE seven_b.globals SET gl_value=\'1\' WHERE gl_name=\'portal_onsite_two_enable\';\n UPDATE seven_b.globals SET gl_value=\'1\' WHERE gl_name=\'rest_api\';\n UPDATE seven_b.globals SET gl_value=\'1\' WHERE gl_name=\'rest_fhir_api\';\n UPDATE seven_b.globals SET gl_value=\'1\' WHERE gl_name=\'rest_portal_api\';\n UPDATE seven_b.globals SET gl_value=\'3\' WHERE gl_name=\'oauth_password_grant\';\n UPDATE seven_b.globals SET gl_value=\'1\' WHERE gl_name=\'rest_system_scopes_api\';\n UPDATE seven_b.globals SET gl_value=\'3\' WHERE gl_name=\'ccda_alt_service_enable\';\n ' |
| 83 | +ACTION: chmod 644 <WORK>/web/b/openemr/sites/default/sqlconf.php |
| 84 | +ACTION: mkdir <WORK>/web/b/openemr/sites/default/procedure_results |
| 85 | +ACTION: chmod -R a+w <WORK>/web/b/openemr/sites/default/procedure_results |
| 86 | +ACTION: sed -i s@/apis/default/@/b/openemr/apis/default/@ <WORK>/web/b/openemr/swagger/openemr-api.yaml |
| 87 | +ACTION: sed -i s@/oauth2/default/authorize@/b/openemr/oauth2/default/authorize@ <WORK>/web/b/openemr/swagger/openemr-api.yaml |
| 88 | +ACTION: sed -i s@/oauth2/default/token@/b/openemr/oauth2/default/token@ <WORK>/web/b/openemr/swagger/openemr-api.yaml |
| 89 | +ACTION: rm -f <WORK>/web/b/openemr/library/openflashchart/php-ofc-library/ofc_upload_image.php |
| 90 | +ACTION_SH: stunnel /etc/stunnel/stunnel.conf >> <WORK>/web/log/logSetup.txt |
| 91 | +ACTION_SH: postfix start >> <WORK>/web/log/logSetup.txt |
| 92 | +ACTION: cp <WORK>/git/demo_farm_openemr/openemr-alpine.conf /etc/apache2/conf.d/openemr.conf |
| 93 | +ACTION_SH: httpd -k start >> <WORK>/web/log/logSetup.txt |
| 94 | +ACTION: tail -F -n0 /etc/hosts |
0 commit comments