swerc's Introduction
swerc - a minimalist document management system ----------------------------------------------- swerc is simple werc, a fork of Uriel's werc at: http://werc.cat-v.org/ Installation ------------ Requirements: * An http server that can handle CGIs * Plan 9 from User Space: http://plan9.us - Or http://tools.suckless.org/9base * discount markdown: http://www.pell.portland.or.us/~orc/Code/discount/ Note: swerc by default expects the Plan 9 tools to be installed under /usr/local/plan9/bin/, if you have installed them elsewhere you will need to edit the #! line in bin/werc.rc and customize the $plan9port variable in your etc/initrc.local. Instructions: Untar swerc at your desired location, configure httpd to use /path-to-your-werc-installation/bin/werc.rc as a cgi-script, it is recommended that you make werc.rc handle all non-static files (this can be done by setting it up as your 404 handler) and setup your virtual hosts to handle static files by setting the document root for the domain to /path-to-werc-installation/sites/yourdomain.com/, and create a directory for your web site under sites/ where you can start adding 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 (Note that p9p is picky about where it is located, once you run ./INSTALL you should *not* move it to a different directory without running ./INSTALL again.) For general configuration edit etc/initrc. Site (and directory) specific options can be set in a sites/example.com/_werc/config file inside the site's directory. Thanks ------ Kris Maglione, sqweek, soul9, mycroftiv, maht, yiyus and many others for their ideas, patches, testing and other contributions. License ------- swerc is in the public domain.
swerc's People
Forkers
gasparvardanyanRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.