https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31729
Thomas Klausner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |In Discussion --- Comment #48 from Thomas Klausner <[email protected]> --- Here is a rather simple bash script that will set all the envs etc and start Koha via plackup with hot-reload. I did not provide this as a patch (yet), because I don't think this script should go into the Koha repo, as it's tailored specifically for koha-testing-docker. But I'd still appreciate some feedback (and some hints on where to add this to ktd; or the OK to add it to Koha itself) cat koha-plack-hotreload set -e instancename='kohadev' instance_user="${instancename}-koha" placksocket="/var/run/koha/${instancename}/plack.sock" psgifile="/etc/koha/plack.psgi" export DEV_INSTALL=1 export KOHA_HOME=/kohadevbox/koha export KOHA_CONF="/etc/koha/sites/${instancename}/koha-conf.xml" export PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/koha/installer # run plackup with hot reload /usr/bin/plackup -M FindBin -R /kohadevbox/koha --workers 2 --user=${instance_user} --group ${instance_user} -E deployment --socket ${placksocket} -s Starman ${psgifile} Greetings, domm -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
