W dniu poniedziałek, 26 sierpnia 2019 20:31:04 UTC+2 użytkownik Dan Book 
napisał:
>
> It is simply "hypnotoad script/my_app". Not sure what you mean by passing 
> dir scheme.
>

You are right Dan, 
"hypnotoad script/my_app" works perfectly for me.
(I had an error in my_app.conf and because of it didn't work) 

Thank you,

tj

 

> -Dan
>
> On Mon, Aug 26, 2019 at 2:29 PM Caveman Pl <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm runing my_app with command
>>
>> morbo -w ./lib -w ./public -w templates  script/my_app -l 
>> http://192.168.10.130:1773
>>
>>
>> my_app file is
>>
>> #!/usr/bin/env perl
>> use strict;
>> use warnings;
>> use FindBin;
>> BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
>> use Mojolicious::Commands;
>> use Mojolicious::Lite;
>> # Start command line interface for application
>> Mojolicious::Commands->start_app('MyApp');
>>
>>
>> whole site works great with morbo but now I need move it from development 
>> to production (many people will use it).
>>
>> site directories scheme is
>>
>> /mojolicious/tmp/my_app
>> /mojolicious/tmp/my_app/my_app.conf
>> /mojolicious/tmp/my_app/lib
>> /mojolicious/tmp/my_app/lib/MyApp
>> /mojolicious/tmp/my_app/lib/MyApp.pm
>> /mojolicious/tmp/my_app/script
>> /mojolicious/tmp/my_app/script/my_app
>> /mojolicious/tmp/my_app/templates
>>
>>
>> When I look at my_app and dir scheme I understand how it works.
>> I dont know how to pass dir scheme to hypnotoad.
>>
>> Yes, I have read doc...
>>
>> Thank you for help,
>>
>> tj
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mojolicious/0c681653-af92-45ae-b0c6-c271268145e3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/mojolicious/0c681653-af92-45ae-b0c6-c271268145e3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/2e8c6990-cac6-4363-8a33-80ce1b98debc%40googlegroups.com.

Reply via email to