Replies: 1 comment 1 reply
-
|
That should probably be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I follow the advice here...
https://docs.mojolicious.org/Mojolicious/Guides/Cookbook#Making-your-application-installable
...to remove
Mojolicious::Command::Authorfrom the command namespace [setting justMojolicious::Commandsin the example given], I get the error...Unknown command "psgi", maybe you need to install it?...on the web app, while it's running via Plack.
Looking at what was installed in my Perlbrew, I realised there was Mojolicious::Command::psgi that was probably needed.
So, is this a typo problem in the documentation, and the example given should have set
Mojolicious::Commandrather thanMojolicious::Commands...?Removing the
shas seemed to fix the problem...I'm new to packaging apps for installation, and was hoping to have a best of both worlds - a mojolicious app that could be ran as normal via plack, and could also be installed. The reason for packaging a Mojolicious app for installation is because I'm told packaging apps for installation is something I ought to learn how to do, ^_^. At present I just run all my webapps via plackup and use git clone if I need copies anywhere else.
When I read the guide on contributing to Mojolicious, it mentions not to do pull requests for simple typo corrections.
That's why I thought I'd post here.
Beta Was this translation helpful? Give feedback.
All reactions