Barrington 47468f2805 | ||
---|---|---|
LICENSE | ||
README.org | ||
Util.pm | ||
example.nginx | ||
footer.html | ||
header.html | ||
index.cgi | ||
rss.cgi |
README.org
the_pit — A simple blog software that uses plaintext files
HISTORY
One day I wrote this because I think most CMS are garbage and I had to create a good one myself.
INSTALLATION
DEPENDENCES
- fcgi
- nginx
- Text::Markdown
- CGI
- DBD::Pg (optional, if you want comments)
NGINX INSTALLATION
It has been tested in nginx so this configuration is guaranteed to work under nginx.
location /blog { # Or any location you want
try_files $uri $uri/ /blog/blog.cgi # This makes all requests go to the same file
}
FEATURES
- Runs on anything that runs perl and nginx
- Written in perl instead of python.
- RSS
- Depends on
CGI
only
HOW TO USE
After installing the_pit, you only drop files which have to have the
following naming scheme: yyyymmdd.whatever.txt
"whatever" can be
whatever or can be nothing. Drop the files in the blogroot and the_pit
will do the rest.
You may edit the footer.html
and header.html
according to your
needs. And you can put whatever info you want in notes.html
. These
files are hardcoded in the perl script.
LICENSE
Public domain.