oi2_daemon - Standalone version of OpenInteract2
# Specify everything $ oi2_daemon --website_dir=/path/to/mysite --conf=/path/to/oi2_daemon.ini # Use ENV for site and an explicit path for configuration $ export OPENINTERACT2=/path/to/mysite $ oi2_daemon --conf=/path/to/oi2_daemon.ini # Use ENV for site and the oi2_daemon specified in # $WEBSITE_DIR/conf/oi2_daemon.ini $ oi2_daemon
This script uses HTTP::Daemon to implement a standalone web server running OpenInteract 2. Once it's started you shouldn't be able to tell the difference between its OpenInteract the same application running on Apache, Apache2, or CGI -- it will have the same users, hit the same database, manipulate the same packages, etc.
Performance note: this daemon will not win any speed contests. It will work fine for a handful of users (even if you have big hands), but if you're deploying a serious application you should look strongly at Apache and mod_perl.
Please see HTTP::Daemon::OpenInteract2 for additional documentation.
Copyright (c) 2003-2004 Chris Winters. All rights reserved.
Chris Winters <chris@cwinters.com>
To install OpenInteract2::URL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenInteract2::URL
CPAN shell
perl -MCPAN -e shell install OpenInteract2::URL
For more information on module installation, please visit the detailed CPAN module installation guide.