Skip to content

ology/PerlDistSite-Template

Repository files navigation

PerlDistSite-Template

Template for a Web::PerlDistSite Instance

# in a "~/repos" directory of repos...

# create and clone a github pages Blah-Blah tutorial repo
# that will live under your existing user page repo
git clone https://github.com/you/blah-blah-tutorial.git

# grab this template
git clone https://github.com/ology/PerlDistSite-Template.git

# go to the cloned checkout
cd PerlDistSite-Template

# install these template dependencies
cpanm --installdeps .

# create a new perl-dist-site under your Blah-Blah repo
./mirror-dist-site.pl --dest ~/repos/Blah-Blah/site --dist Blah-Blah

# go to the perl-dist-site
cd ~/repos/Blah-Blah/site

# install the Web::PerlDistSite bits
make install

# create the Blah-Blah tutorial
./clean-and-move.sh

# go to the new tutorial directory
cd ~/repos/blah-blah-tutorial

# git add and commit the files
git add * ; git commit -am 'Initial commit'

# wait a few minutes and browse to the tutorial
https://you.github.io/blah-blah-tutorial

(And don't forget to exclude the site subdirectory from future Blah-Blah CPAN uploads!)