Go to file
2009-02-25 17:04:00 +00:00
apps Add hr abobe comments login request message. 2009-02-23 08:23:35 +00:00
bin Allow : and , in urls, but strip them and redirect them if they are last char. This fixes some autogenerated links in other sites that will include . and , if they follow an url in an email for example. 2009-02-23 05:25:08 +00:00
etc Use new conf_enable_... interfaces, this also alos us to make the default for $enabled_apps nil. 2009-02-08 00:23:33 +00:00
lib Improve default sitemap template, including Google's enhanced 404 pages by default. 2009-02-25 05:24:05 +00:00
pub CSS tunning: Slightly lower default font size, and change vertical align for images in top_bar. 2009-02-24 11:44:22 +00:00
sites Document updates. 2009-02-23 08:17:42 +00:00
.hgignore Update ignore list, and add a dummy file to sites/ 2008-06-10 16:42:55 +02:00
README Mention file perms in readme. 2009-02-25 17:04:00 +00:00

werc - a minimalist document management system
----------------------------------------------

Werc is a content management system and web framework designed to be simple to
use, simple to setup, simple to hack on, and not get on the way while allowing
users easy customization.

For more information see the official website: http://werc.cat-v.org/


Installation
------------

Requirements:

* Plan 9 from User Space - http://plan9.us
* An http server that can handle CGIs

Instructions:

Untar, configure httpd to use bin/werc.rc as a cgi-script, and create a
directory for your web site under sites/ where you can start to add content
right away.

If you will want to allow updates via the web interface (eg., for wiki or
comments apps) make sure all files under sites/ are writable by the user your
cgi will run as, usually www-data, for example by doing: chown -R :www-data
sites/; chmod -R g+w sites/

If your Plan 9 from User Space installation is located somewhere else than the
standard /usr/local/plan9/ you will need to edit the first line of bin/werc.rc

For general configuration options copy etc/initrc to initrc.local and customize
it as needed. Site (and directory) specific options can be set in a
sites/example.com/_werc/config file inside the site's directory. To customize
templates and included files you can store your own version of the files in
lib/ under sites/example.com/_werc/lib

The source tree for the werc website is included under sites/werc.cat-v.org as
an example, feel free to use it as a template for your own site.

For more details see the documentation section of the website:
http://werc.cat-v.org/docs/


Contact
-------

For comments, suggestions, bug reports or patches join the werc9 list in
google groups: http://groups.google.com/group/werc9 or the irc channel #plan9
in irc.freenode.org

If you have a public website that uses werc I would love to hear about it and
get feedback about you experience setting it up.

If you want to be notified of new releases see the News section of the website
or use Freshmeat: http://freshmeat.net/projects/werc/

Thanks
------

Garbeam, Kris Maglione, sqweek, soul9, mycroftiv and many others for their
ideas, patches, testing and other contributions.

License
-------

Werc is in the public domain.