How to run Mojolicious on OpenShift?

I already tried https://github.com/degtyarev-dm/mojolicious-lite-openshift , but with no luck it returns 500 pages of errors.

Does anyone know how to run Mojolicious on OpenShift?

I also tried the PerlDancer example and it works well. But it works on Plack (with PSGI, I don't really understand PSGI).

Can I use the morbo / myapp.pl daemon / plackup command from a shell script to run as a worker in OpenShift?

+4
source share
1 answer

Finally, I know how to run Mojolicious on OpenShift:

https://github.com/dns/OpenShift-DIY-Perl

Unfortunately, unlike heroku, OpenShift blocks every port except 80 and 443.

Cool things about Openshift, they give 1 GB database (shared with the application). And the mosaic application can handle file uploads. (for comparison: Heroku only gives a 6 MB database and cannot handle file uploads)

OpenShift currently uses Apache 2.2 with mod_perl.

0
source

All Articles