NiKKi /Install

Top
Up
Contents
RecentChanges
Attachment
Backlinks
Print
Show Page
ViewSource
Login
User:38.103.63.17
(anonymous)
6912 hits since Sun Jun 2 17:56:55 2002
  1. Prerequisite
    1. Python
    2. Medusa
    3. PIL : Python Imaging Library (optional)
    4. M2 Crypto or Stunnel (optional)
  2. Nikki
  3. Configuration
  4. Data directory
  5. Starting Nikki
  6. Platform

Prerequisite

Python

Available from http://www.python.org. Python version greater than 2.2 is required.

Medusa

Is now included.

PIL : Python Imaging Library (optional)

If you want to make thumbnails, you need this. PIL by Pythonworks.

M2 Crypto or Stunnel (optional)

If you want SSL support, you need to install Stunnel or M2Crypto:

Stunnel is recommended.

Nikki

Available from Download page.

[~]$ tar xvzf nikki-0.9b.tar.gz  
[~]$ ls 
Nikki/

Configuration

All the configuration information is in Config file in Nikki directory. At least edit:
  • NIKKI_PATH = path to Nikki module
  • MEDUSA_PATH = path to medusa module if installed in other than site-packages directory
  • ROOT_FS = path to data directory
  • SMTP_SERVER = smtp server that you have access (if you want to enable user registration)
  • ROOT_PASSWD = initial root password

See example:Config.txt

Data directory

Copy vanilla-site somewhere for data directory:

[Nikki]$ cp -r vanilla-site/ ~/nikkidata 

This vanilla-site contains

  • initial setup information (root page = nikkidata/~obj)
  • resources (nikkidata/~attachment/)
  • and Nikki directory which contains help/other information

Starting Nikki

[Nikki]$ python2 start_nikki.py Config  

Platform

Currently it is running on gentoo linux and windows xp.