Sha256: c160e3d136ca0b3b152fad3bf3aa18c40eb0933180e5eaaa5024442fb8f7fec2

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

h1. Adjusting the settings

Take a look at the start.rb file in your wiki folder.  This can be used to change the settings such as port and url of this site, and to enable more advanced features such as calendars and automatic summaries.

h2. To restart your wiki

The soks-create-wiki.rb script will have created a folder in the directory in which you ran it (by default the folder is 'soks-wiki'). In that folder is a script 'start.rb' run it.
<code>
cd soks-wiki
ruby start.rb
</code>

h2. To make your site accessible beyond localhost

Open start.rb in your directory. Un-comment the lines

<code>
# :url => 'http://localhost:8000',
# :port => 8000,
</code>

and replace them with the url and port you wish the wiki to run on.

h2. To password protect your wiki.

See how to password protect your wiki.

h2. To edit the default site settings used by soks-create-wiki.rb

Edit template/start.rb in the directory where soks was installed.

h2. To change how often the wiki checks the content directory for any changes.

Open start.rb and add this to your CUSTOM_SETTINGS hash:
<code>:check_files_every => 60, # Seconds</code>

h2. To add a calendar and upcoming events page:

Open start.rb and uncomment:
<code>
# calendar = AutomaticCalendar.new( wiki ) # Adds a series of calendar pages to the wiki
# AutomaticUpcomingEvents.new( wiki, calendar ) # Creates a page with the next weeks events drawn from the calendar pages
</code>

h2. To add a page that summarises other pages:

See Automatic summaries

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
Soks-0.0.6 templates/default/content/How%20to%20administrate%20this%20wiki.textile
Soks-0.0.7 templates/default/content/How%20to%20administrate%20this%20wiki.textile