4 my $env = "$FindBin::Bin/env";
11 $ENV{CATALYST_SCRIPT_GEN} = 40;
14 use Catalyst::ScriptRunner;
15 Catalyst::ScriptRunner->run('Gitalist', 'Server');
21 gitalist_server.pl - Catalyst Test Server
25 gitalist_server.pl [options]
27 -d -debug force debug mode
28 -f -fork handle each request in a new process
30 -? -help display this help and exits
31 -host host (defaults to all)
32 -p -port port (defaults to 3000)
33 -k -keepalive enable keep-alive connections
34 -r -restart restart when files get modified
36 -rd -restartdelay delay between file checks
37 (ignored if you have Linux::Inotify2 installed)
38 -rr -restartregex regex match files that trigger
39 a restart when modified
40 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
41 -restartdirectory the directory to search for
42 modified files, can be set mulitple times
43 (defaults to '[SCRIPT_DIR]/..')
44 -follow_symlinks follow symlinks in search directories
45 (defaults to false. this is a no-op on Win32)
46 -background run the process in the background
47 -pidfile specify filename for pid file
50 perldoc Catalyst::Manual
51 perldoc Catalyst::Manual::Intro
55 Run a Catalyst Testserver for this application.
59 Catalyst Contributors, see Catalyst.pm
63 This library is free software. You can redistribute it and/or modify
64 it under the same terms as Perl itself.