App-skryf - i kno rite. another perl cms.
Another CMS platform which utilizes Mojolicious, Markdown, hypnotoad, Rex, Ubic, and Mongo.
I like http://perlbrew.pl, but, whatever you're comfortable with. I won't judge.
$ cpanm git://github.com/battlemidget/App-skryf.git
$ skryf setup
By default skryf will look in dist_dir for templates and media. To override that make sure ~/.skryf.conf points to the locations of your templates and media. For example:
$ mkdir -p ~/blog/{templates,public}
Edit ~/.skryf.conf to reflect those directories in template_directory and media_directory.
template_directory => '~/blog/templates', media_directory => '~/blog/public',
So ~/blog/templates/blog/detail.html.ep and ~/blog/public/style.css
$ export BLOGUSER=username $ export BLOGSERVER=example.com If perlbrew is installed Rex will autoload that environment to use remotely. Otherwise more tinkering is required to handle the perl environment remotely. $ rexify --use=Rex::Lang::Perl::Perlbrew $ rex deploy
$ skryf daemon
I use Ubic to manage the process
use Ubic::Service::SimpleDaemon; my $service = Ubic::Service::SimpleDaemon->new( bin => "hypnotoad -f `which skryf`", cwd => "/home/username", stdout => "/tmp/blog.log", stderr => "/tmp/blog.err.log", ubic_log => "/tmp/blog.ubic.log", user => "username" );
Adam Stokes <adamjs@cpan.org>
Copyright 2013- Adam Stokes
Licensed under the same terms as Perl.
To install App::skryf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::skryf
CPAN shell
perl -MCPAN -e shell install App::skryf
For more information on module installation, please visit the detailed CPAN module installation guide.