Skip to content

Commit

Permalink
Documentation / example / version-number catchup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdotorg committed Jul 23, 2016
1 parent 18d6c13 commit b309abc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.3 2016-07-23

- Plerd no longer requires that the source, docroot, and template directories all exist within the same master directory.

1.2 2016-04-09

- Fixing a bug that could prevent the recent, archive, and RSS pages from updating properly.
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ This should crunch though the installation of a bunch of Perl modules that Plerd
* `docroot`: Will hold your blog's actual docroot, ready for serving up by the webserver software of your choice.

You can freely add other files or directories in this directory if you wish (a `drafts` folder, perhaps?). Plerd will happily ignore them.

*Alternately*, you can simply choose three directories anywhere on your filesystem to serve these purposes. Just make sure that whatever user runs Plerd's processes has write access to both the source and docroot directories.

1. Copy `conf/plerd_example.conf` to `conf/plerd.conf`, and then update it to best suit your blog.

* Set the `path` attribute to the full path of the directory you created in the first step.

(If you took the alternate route of choosing different directories, then set the `source_path`, `publication_path`, and `template_path` directories instead, just like the commented-out lines in `conf/plerd_example.conf` demonstrate.)

* Set the other attributes as should be obvious, based on the provided examples.

1. Copy the contents of this repository's `templates` directory into the new `templates` subdirectory you created in the first step.
Expand Down
10 changes: 9 additions & 1 deletion conf/plerd_example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ base_uri: http://blog.example.com/
path: /home/me/Dropbox/plerd/
title: My Cool Blog
author_name: Sam Handwich
author_email: [email protected]
author_email: [email protected]

# If you don't want to keep all of Plerd's required directories under a single
# master directory (configured withe the "path" directive, as seen above), then
# you can define the directories with these separate directives instead:
#
# source_path: /home/me/Dropbox/plerd/source
# publication_path: /var/www/html/blog/
# template_path: /yet/another/path/templates
2 changes: 1 addition & 1 deletion lib/Plerd.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Plerd;

our $VERSION = '1.2';
our $VERSION = '1.3';

use Moose;
use Template;
Expand Down

0 comments on commit b309abc

Please sign in to comment.