Skip to main content

A simple Django app to add a wiki to Evennia

Project description

evennia-wiki

A simple wiki for Evennia, simple to install within an Evennia game.

Installation

You have to install Evennia beforehand. Once done, to add the Wiki, install from pypi:

pip install evennia_wiki

Then, in your Evennia folder, edit server/conf/settings.py to add the installed app:

INSTALLED_APPS += (
        # ...
        "evennia_wiki",
)

Finally, in web/urls.py, you should add the custom URL:

custom_patterns = [
    # ...
    url(r'^wiki/', include('evennia_wiki.urls')),
]

Don’t forget to run evennia migrate after that.

Usage

You can now run your game:

evennia start

Go to your website: http://localhost:4001/wiki/ .

Settings

By default, the wiki is off-limit to players. Only authenticated builders have access to it, to write it and read it. You can change these defaults.

The current possibility is to change this default for every page. It is not possible to do it for a specific page. Go to your settings.lpy file and change one of these settings:

  • WIKI_CAN_READ: who can read the wiki? Set to "builder" by default. Change it to "anonymous" to allow anonymous visitors to read your wiki (but not edit it).
  • WIKI_CAN_WRITE: who can write your wiki? Set to "builder" by default. For the time being, anonymous users cannot edit a wiki page, so you need to set it to a group of authenticated users (like "builder" or "admin").

Documentation

See the project documentation hosted on Github pages.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evennia-wiki-0.5.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file evennia-wiki-0.5.tar.gz.

File metadata

  • Download URL: evennia-wiki-0.5.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for evennia-wiki-0.5.tar.gz
Algorithm Hash digest
SHA256 3ea19803286ff5955d8901a51600405f2fbfa2dadd97f96f326618cdac42017f
MD5 da8b9f24cf0ceb7525412a0cdc9e1685
BLAKE2b-256 17482004531ffa4849b0f536417246f8ccab7d6cdb75b04f9a641a4c74e9dc71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page