Slovo::Command::Author::generate::cgi_script - Generate a CGI script for running Slovo under Apache/CGI
Usage: slovo [OPTIONS] # Default values. slovo generate cgi_script # Custom values slovo generate cgi_script -f slovo.cgi -m production Options: -h, --help Show this summary of available options -f, --filename Defaults to $app->moniker.cgi -c, --cgi_mode Defaults to current $app->mode
Slovo::Command::Author::generate::cgi_scrip will generate a CGI script for running Slovo under Apache/CGI. Although Slovo performs best as a daemon run by hypnotoad, it can as well be used on a cheap shared hosting. When the script slovo.cgi is run it will dump a static page which later will be loaded by apache. This way Slovo can be used as a static site generator. This is completely enough for bloggers.
slovo.cgi
Slovo::Command::Author::generate::cgi_script inherits all attributes from Slovo::Command and implements the following new ones.
my $description = $cgi_script->description; $cpanify = $cgi_script->description('Foo');
Short description of this command, used for the command list.
my $usage = $cgi_script->usage; $cpanify = $cgi_script->usage('Foo');
Usage information for this command, used for the help screen.
Slovo::Command::Author::generate::cgi_script inherits all methods from Slovo::Command and implements the following new ones.
$cgi_script->run(@ARGV);
Run this command.
Slovo,Mojolicious::Command "Adding-commands-to-Mojolicious" in Mojolicious::Guides::Cookbook, Mojolicious::Guides, https://слово.бг.
To install Slovo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Slovo
CPAN shell
perl -MCPAN -e shell install Slovo
For more information on module installation, please visit the detailed CPAN module installation guide.