Sha256: e2d456cdc701724221aa6ca345e836dad21aea05d4a8bb1540e2f3180d7790a4

Contents?: true

Size: 896 Bytes

Versions: 2

Compression:

Stored size: 896 Bytes

Contents

We support several wiki page persistence mechanisms called Stores.
Currently the server includes all versions and selects one with
an environment variable.

File Store
==========

Pages are stored in flat files under `data` in the subdirectory
`pages`. File names are the slugs with no suffix.
A second subdirectory, `status`, contains additional metadata
such as the site's favicon.png.

When the server is operated as a wiki site farm,
data and status subdirectories are pushed several levels deeper
in the file hierarchy under `data/farm/*` where * is replaced
with the virtual host domain name.
The existence of the farm subdirectory configures the server
into farm mode.

Couch Store
===========

Pages are stored as Couch documents with fully qualified
names following the conventions established in the File Store.
An environment variable indicates that the server should
be in farm mode.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wiki-0.1.0 lib/wiki/stores/ReadMe.md
wiki-0.0.1 lib/wiki/stores/ReadMe.md