2008-08-30 21:44:38 -06:00
|
|
|
werc - a minimalist document management system
|
|
|
|
----------------------------------------------
|
|
|
|
|
2009-02-02 13:31:12 -07:00
|
|
|
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.
|
2008-08-30 21:44:38 -06:00
|
|
|
|
2009-01-21 02:27:35 -07:00
|
|
|
For more information see the official website: http://werc.cat-v.org/
|
2008-08-30 21:44:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
* Plan 9 from User Space - http://plan9.us
|
2008-09-22 03:09:44 -06:00
|
|
|
* An http server that can handle CGIs
|
2008-08-30 21:44:38 -06:00
|
|
|
|
|
|
|
Instructions:
|
|
|
|
|
2008-10-27 18:41:25 -06:00
|
|
|
Untar, configure httpd to use bin/werc.rc as a cgi-script, and create a
|
2008-09-22 03:09:44 -06:00
|
|
|
directory for your web site under sites/ where you can start to add content
|
2009-02-25 10:04:00 -07:00
|
|
|
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/
|
2008-09-22 03:09:44 -06:00
|
|
|
|
2009-02-02 13:31:12 -07:00
|
|
|
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
|
|
|
|
|
2008-09-22 03:09:44 -06:00
|
|
|
For general configuration options copy etc/initrc to initrc.local and customize
|
2009-02-02 13:31:12 -07:00
|
|
|
it as needed. Site (and directory) specific options can be set in a
|
2008-10-14 00:15:16 -06:00
|
|
|
sites/example.com/_werc/config file inside the site's directory. To customize
|
2009-02-02 13:31:12 -07:00
|
|
|
templates and included files you can store your own version of the files in
|
|
|
|
lib/ under sites/example.com/_werc/lib
|
|
|
|
|
2009-02-02 13:33:02 -07:00
|
|
|
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.
|
|
|
|
|
2009-02-02 13:31:12 -07:00
|
|
|
For more details see the documentation section of the website:
|
|
|
|
http://werc.cat-v.org/docs/
|
2008-09-22 03:09:44 -06:00
|
|
|
|
2008-08-30 21:44:38 -06:00
|
|
|
|
|
|
|
Contact
|
|
|
|
-------
|
|
|
|
|
2008-09-22 03:09:44 -06:00
|
|
|
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
|
2008-08-30 21:44:38 -06:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2009-02-02 13:31:12 -07:00
|
|
|
If you want to be notified of new releases see the News section of the website
|
|
|
|
or use Freshmeat: http://freshmeat.net/projects/werc/
|
|
|
|
|
2009-02-12 18:08:56 -07:00
|
|
|
Thanks
|
|
|
|
------
|
|
|
|
|
|
|
|
Garbeam, Kris Maglione, sqweek, soul9, mycroftiv and many others for their
|
|
|
|
ideas, patches, testing and other contributions.
|
2008-08-30 21:44:38 -06:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Werc is in the public domain.
|