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