++ed by:
celogeek

NAME

Jedi::Launcher - Launcher for Jedi App

VERSION

version 1.004

DESCRIPTION

This app load config files and start your jedi app.

SYNOPSIS

myBlog.yml:

  Jedi:
    Roads:
      Jedi::App::MiniCPAN::Doc: "/"
      Jedi::App::MiniCPAN::Doc::Admin: "/admin"
  Plack:
    env: production
    server: Starman
  Starman
    workers: 2
    port: 9999
  Jedi::App::MiniCPAN::Doc:
    path: /var/lib/minicpan

The Jedi is init with the roads inside the config.

The server plack is started using the config option. In that case it is equivalent to :

  plackup --env=production --server=Starman --workers=2 --port=9999 myjedi.psgi

Take a look at the plackup option to see all possible config.

ATTRIBUTES

config

config files to load

lib

Include directory before starting include

METHODS

run

load config, init jedi and plack and start your apps

parse_config

load and merge all configs

jedi_initialize

initialize the jedi apps from configs

plack_initialize

initialize the plack runner from the option in the configs

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/celogeek/perl-jedi/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

celogeek <me@celogeek.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by celogeek <me@celogeek.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.




Hosting generously
sponsored by Bytemark