You are right! mojo generate app MyApp cd myapp/ hypnotoad /var/www/myapp/script/myapp
It work. Thanks. вторник, 12 января 2016 г., 0:38:04 UTC+3 пользователь Dan Book написал: > > From what I can tell, the generated app is supposed to work when run from > the same directory. To make it installable you need FindBin as you have > noticed, this is mentioned in the Cookbook: > https://metacpan.org/pod/Mojolicious::Guides::Cookbook#Making-your-application-installable > > On Mon, Jan 11, 2016 at 4:36 PM, Marlik <[email protected] <javascript:>> > wrote: > >> Do not worry, I just thought that it works out of the box. >> >> вторник, 12 января 2016 г., 0:04:22 UTC+3 пользователь sri написал: >> >>> I hope I'm not too far misplaced in my explanation. Anyway, what is the >>>> design decision for this? Would it be bad to update the boilerplate to >>>> use >>>> the FindBin method? >>>> >>> >>> There's a lowercase "myapp" in the original post, which can't happen it >>> was described. I don't want to speculate or hijack this thread for an >>> unrelated discussion, please open a new one or ask again on IRC. >>> >>> -- >>> sebastian >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mojolicious" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/mojolicious. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
