Re: [Mojolicious] how to run my_app with hypnotoad?

2019-08-26 Thread Dan Book
It is simply "hypnotoad script/my_app". Not sure what you mean by passing
dir scheme.

-Dan

On Mon, Aug 26, 2019 at 2:29 PM Caveman Pl  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 mojolicious+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mojolicious/0c681653-af92-45ae-b0c6-c271268145e3%40googlegroups.com
> 
> .
>

-- 
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 mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CABMkAVWC0kbnkHYtxwZ%3Dn9hs%3DOtdJQaF0t%2BhVeK_QXmuGQA7Zg%40mail.gmail.com.


[Mojolicious] how to run my_app with hypnotoad?

2019-08-26 Thread Caveman Pl
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 mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/0c681653-af92-45ae-b0c6-c271268145e3%40googlegroups.com.