nlpservice
nlpservice [options]
nlpservice is a barebones NLP::Service application. Takes in command line arguments for configuration.
Prints this help message.
Opens the man page.
Turns on verbose logging. By default logging is to the console unless in daemon mode. Then logging is to a file.
Takes a string that is used as the name of the environment, and also becomes the name of the logfile. Default value is 'development'.
Logs to a file instead of the console. Creates a logs/ directory in the working directory of the application, with the environment name being set by the --environment option or 'development'.
Changes the working directory of the application. Default is the directory from where the application has been launched.
Sets the port on which the application will listen on. Default is 3000.
Runs the application in daemon mode. This stops logging to the console, and logs to a file if not specified.
The IP interface to bind to. Default is 0.0.0.0, which binds to all interfaces.
The application adjusts the headers accordingly for proxying redirects, and assumes you're behind a proxy here. Should not be used unless needed.
Copyright (C) 2011. Vikas Naresh Kumar <vikas@cpan.org>
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Started on 28th March 2011.
To install NLP::Service, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NLP::Service
CPAN shell
perl -MCPAN -e shell install NLP::Service
For more information on module installation, please visit the detailed CPAN module installation guide.