A few bits for running a webserver
Puppet Ruby Perl Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Sheep
puppet
s3
sys
vbox_notes
.gitignore
README.txt
Sheep.pm
app.psgi

README.txt

# DEPRECIATED

Some things for setting up a basic perl Starman/Varnish server

You probably won't find this useful as it's very specific to
my setup - but feel free to have a look around and use code that
you find useful.

Dir structure:

/vhosts/sheep_lib/ - where this should be checked out

/vhosts/www.domainA.com/A_app.psgi
/vhosts/www.domainB.com/B_app.psgi

# /vhosts/www.domainA.com/A_app.psgi
-----
use strict;
use warnings;

use lib ( 'sheep_lib', '../sheep_lib' );
use Sheep;
use Sheep::Plack;

my $slack = Sheep::Plack->new(
    psgi_name => 'domainA',
    folder    => 'www.domainA.com',
);

$slack->standard_tt(
    {    #
        roots => [ ( $slack->root_path->stringify() ) ],    #
    }
);
-----