github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

prb / perpubplat

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 7
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Experimental Haskell blog publishing. — Read more

  Cancel

http://datapr0n.com/perpuplat

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Google Analytics support. 
prb (author)
Mon Apr 06 22:34:21 -0700 2009
commit  fe743b08942e71ec629e26e959873e092cad8569
tree    f2b3f30b3c22eeef5eec081fd2e55f592deded35
parent  45c33c6bc5f85d7446b4511032b55dd369e8dc5a
perpubplat /
name age
history
message
file .gitignore Sun Nov 09 00:27:49 -0800 2008 Fix for unescaping XML entities. [prb]
file LICENSE Tue Aug 19 15:21:55 -0700 2008 Initial commit from darcs repo. [prb]
file README Wed Aug 27 22:17:09 -0700 2008 Updated README to match current versions and ex... [Paul Brown]
directory apache_config/ Tue Aug 19 15:21:55 -0700 2008 Initial commit from darcs repo. [prb]
file perpubplat.cabal Fri Mar 27 22:31:21 -0700 2009 Minimal fixes to use latest libraries. [prb]
directory servletsrc/ Wed Sep 24 21:27:34 -0700 2008 Added a "nuke all on page" feature to comment m... [prb]
directory src/ Mon Apr 06 22:34:21 -0700 2009 Google Analytics support. [prb]
file test.sh Tue Aug 19 15:21:55 -0700 2008 Initial commit from darcs repo. [prb]
directory testsrc/ Tue Aug 19 15:21:55 -0700 2008 Initial commit from darcs repo. [prb]
README
This file explains how to build perpubplat. This is not for the
uninitiated or faint of heart, and I'll assume that you've got a good
level of familiarity with Apache (or some other FastCGI container like
lighttpd), Haskell, and standard *nix environments. (That said, what
you don't know is probably readily available by Googling.)

The "per" in perpubplat is for "personal", and I haven't gone out of
my way to make perpubplat configurable or customizable beyond my
immediate purposes. That said, I do intend to continue making
enhancements and customizations. On my roadmap:

- Better configuration (properties versus compiled in)
- Draft management (AtomPub and web interface)
- Threaded comments
- HTTP referer management
- Component management (turn off sidebar components, etc.)


PREREQUISITES

You will need:

- GHC 6.8.3

- cabal-install (0.5.2 or greater)

- FastCGI libraries, installed somewhere your linker will know how to
  find them.  Download the source from http://www.fastcgi.com/

I will track the latest released version of GHC, so expect a bump when
new versions of GHC are released.


GETTING SOURCE

The git repository for perpubplat is hosted at github:

  http://github.com/prb/perpubplat

To clone the repository, do:

  $ git clone git://github.com/prb/perpubplat.git

Or you can ask github to make you a tarball.


CONFIGURING

All of the relevant configuration parameters are in the Blog.Constants
module in the perpubplat library.


BUILDING

The libraries and executables all build the standard cabal-install
way, e.g.:

  $ cd perpubplat
  $ cabal install

This places the perpubplat.fcgi executable in ~/.cabal/bin. If you
want the executable in a different location:

  $ cd perpubplat
  $ cabal install --prefix=/path/to/other/location


RUNNING

Point your favorite FastCGI web container at perpubplat.fcgi.  Some
help selecting and configuring a container is available from here:

http://mult.ifario.us/p/wiring-haskell-into-a-fastcgi-web-server

Some sample Apache2 configuration fragments are included in the
repository.

*** NB: It is critically important that only one perpubplat.fcgi
process is running at a time, so configure the web container
accordingly. ***


BOOTSTRAPPING CONTENT

Bootstrapping content is explained in this blog post:

  http://mult.ifario.us/p/hello-world-for-perpubplat


QUESTIONS / COMMENTS / IMPROVEMENTS

Feel free to send me an email (prb@mult.ifario.us) or a patch!
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server