NAME App-skryf - perl blogger DESCRIPTION Another blog engine utilizing Mojolicious, Markdown, Starman, Rex, and Ubic for a more streamlined deployable approach. PREREQS I like , but, whatever you're comfortable with. I won't judge. INSTALLATION (SOURCE) $ git clone git://github.com/battlemidget/App-skryf.git $ cpanm --installdeps . 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, posts, and media. For example, this is a simple directory structure for managing your blog. $ mkdir -p ~/blog/{posts,templates,public} Edit ~/.skryf.conf to reflect those directories in *media_directory*, *post_directory*, and *template_directory*. ## Available vars: ## %bindir% (path to executable's dir) ## %homedir% (current $HOME) post_directory => '%homedir%/blog/posts', template_directory => '%homedir%/blog/templates', media_directory => '%homedir%/blog/public', You'll want to make sure that files exist that reflect the template configuration options. post_template => 'post', index_template => 'index', about_template => 'about', css_template => 'style', So ~/blog/templates/{post.html.ep,index.html.ep,about.html.ep} and ~/blog/public/style.css DEPLOY $ 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. $ rex deploy RUN (Development) $ morbo `which skryf` RUN (Production) I use Ubic to manage the process use Ubic::Service::SimpleDaemon; my $service = Ubic::Service::SimpleDaemon->new( bin => "starman -p 9001 `which skryf` -R", cwd => "/home/username", stdout => "/tmp/blog.log", stderr => "/tmp/blog.err.log", ubic_log => "/tmp/blog.ubic.log", user => "username" ); AUTHOR Adam Stokes DISCLAIMER Jon Portnoy [avenj at cobaltirc.org](http://www.cobaltirc.org) is original author of blagger in which this code is based heavily off of. LICENSE Licensed under the same terms as Perl.