https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228

Jake Deery <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--- Comment #2 from Jake Deery <[email protected]> ---
If anyone wanted to test this out on k.t.d, I've written a unit file that I'm
porting in via a misc4dev branch here:
https://gitlab.com/PerplexedTheta/koha-misc4dev/-/tree/setup_mojo 

== TO TEST ==
a)  ktd down
b)  apply this patch to your Koha repository as you usually would
c)  set the following in your k.t.d .env file
DEBUG_GIT_REPO_MISC4DEV=yes
DEBUG_GIT_REPO_MISC4DEV_URL=https://gitlab.com/PerplexedTheta/koha-misc4dev.git
DEBUG_GIT_REPO_MISC4DEV_BRANCH=setup_mojo
USE_MOJO=
d)  run ktd up, wait, and then go into ktd --shell
e)  inside k.t.d, run: perl /kohadevbox/misc4dev/setup_mojo.pl
    *)  notice the unit file being copied and symlinked
f)  run the following three commands:
    *)  sudo koha-plack --disable kohadev
    *)  sudo koha-plack --stop kohadev
    *)  sudo apachectl stop
g)  run the following command: sudo koha-mojo --start kohadev
    *)  notice the service start successfully
h)  after a few seconds, go to http://localhost:8081 as you usually would
    *)  notice the subtle performance change - is it better, or worse?
i)  run the following command: tail -f -n999
/var/log/koha/kohadev/mojo-intranet-output.log
    *)  notice how you're getting trace logging, something the unit will only
give in k.t.d
== DONE ==

Note that these steps aren't necessarily going to be useful ones for signing
off with, hence why I haven't included them in the patch. But, they are useful
if you want to trail out running Koha as a Mojo app!

Ta,
Jake.

-- 
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/

Reply via email to