Sha256: 0d943a2364cb121e1f2047373b19abe2b318ca1d2e20266f8a44155d74ef0062
Contents?: true
Size: 1.55 KB
Versions: 7
Compression:
Stored size: 1.55 KB
Contents
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"/> <title>Wunderbar Wiki</title> </head> <body> <h2>Wunderbar Wiki</h2> <p>Note: demo code requires Ruby 1.9.2 or later. Wunderbar itself works with Ruby 1.8.7 or later.</p> <p>Prereqs:</p> <ul> <li><code>gem install wunderbar rdiscount</code></li> <li><code>apt-get install git</code></li> <li><a href="http://jquery.com/">jQuery</a></li> <li><a href="http://www.showdown.im/">Showdown</a></li> </ul> <p>Create a data directory (one per wiki):</p> <ul> <li>Must be writeable by your web server</li> <li>Should not be in the Document Root</li> </ul> <p>Configure git:</p> <ul> <li>Follow <a href="http://help.github.com/set-your-user-name-email-and-github-token/]">Step 1</a>.</li> <li>Note that this needs to be done for the user that the webserver runs the script under. If you are not running <a href="http://httpd.apache.org/docs/2.0/suexec.html">suexec</a>, this is typically <code>www-data</code> on Unix or <code>www</code> on Mac OS/X.</li> </ul> <p>Configure Apache:</p> <pre><code> Options +ExecCGI +MultiViews MultiViewsMatch Any AddHandler cgi-script .cgi </code></pre> <p>Install scripts:</p> <ul> <li>Copy <code>jquery-min.js</code> and <code>showdown.js</code> into your document root</li> </ul> <p>Install wiki (one per wiki):</p> <pre><code> ruby wiki.rb --install=/var/www/wikiname.cgi --WIKIDATA="/full/path/to/data/directory" </code></pre> <p>Access your wiki:</p> <pre><code> http://localhost/wikiname/ </code> </body> </html>
Version data entries
7 entries across 7 versions & 1 rubygems