Installation
Blooki runs just anywhere where Perl runs. If you plan to run Blooki as a standalone server, there is nothing to install. Assuming blooki-app is a current directory, the server can be started by running the following command:
> perl blooki.pl --port 81
Alternatively, if you have perl associated with .pl extension you should be able to just double click on blooki.pl file to start blooki daemon server. The server will use port 80 by default.
To install Blooki to use it with your webserver as CGI/mod_perl script type the following:
> perl Makefile.PL
> make
> make test
> make install
This will:
- Detect whether you have a webserver available to set proper default values
- Create Blooki configuration file populated with the values you enter
- Create .htaccess file(s) that match your configuration, and
- Copy all application and configuration files into proper locations.
Users on Windows platform may try nmake instead of make. If no make is available, then Makefile.PL can be run with --nomake option that will also install necessary files:
> perl Makefile.PL --nomake
You can still run tests using perl test.pl command.
The script will also detect whether you have mod_rewrite and mod_perl extensions available and will generate necessary configuration files based on information you provide.
Although webserver detection in the installation script currently works only for Apache server, the way package and configuration files are organized should allow you to run Blooki with any other webserver with minimum or no changes.