2 #===============================================================================
6 # USAGE: ./test_server.pl
14 # AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz
15 # ORGANIZATION: Koha Development Team
17 # CREATED: 28/08/13 14:12:51
19 #===============================================================================
34 'c|config:s' => \$config_dir,
36 my $usage = << 'ENDUSAGE';
38 This script will start an NCIP server, using the configuration set in the config dir you pass
40 This script has the following parameters :
41 -h --help: this message
42 -c --config: path to the configuration directory
52 print "You must specify a configuration directory\n";
57 my $server = NCIPServer->new( { config_dir => $config_dir } );