Head blueLogoText.gif NCF HelpWiki
Help | StartPage

Difference between revisions of "Dokuwiki on NCF organizational websites"

From Support
Jump to navigation Jump to search
(linking)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
This document is an attempt to document how you can set up and use the Dokuwiki wiki system on an [http://www.ncf.ca/ncf/register/orgform.html NCF organizational account] web site.
This article shows how you can set up and use the Dokuwiki wiki system on an [http://www.ncf.ca/ncf/register/orgform.html NCF organizational account] web site.


=== Why Dokuwiki ===
=== Why Dokuwiki ===


Most people are familiar with the output of a wiki because of Wikipedia, though the understanding of how a wiki is useful if less common.
Most people are familiar with the output of a wiki because of Wikipedia, though the understanding of how a wiki is useful is less common.


Essentially a wiki is a structured web-site that allows many users to view the content and (generally) fewer users to write or edit the content. The structure simplifies the process of adding and editing content. NCF uses the same software as [https://en.wikipedia.org Wikipedia], called [https://www.mediawiki.org/wiki/MediaWiki Mediawiki], for the help database.
Essentially a wiki is a structured web-site that allows many users to view the content and (generally) fewer users to write or edit the content. The structure simplifies the process of adding and editing content. NCF uses the same software as [https://en.wikipedia.org Wikipedia], called [https://www.mediawiki.org/wiki/MediaWiki Mediawiki], for the help database.
Line 11: Line 11:
* there is fairly simple formatting or '''markup''' to provide for some styling
* there is fairly simple formatting or '''markup''' to provide for some styling
* there are many plugins to provide special features such as maths, music, etc.
* there are many plugins to provide special features such as maths, music, etc.
* there are a number of designs and templates to change the appearance even if the content is unchanged.
* there are a number of designs and templates to change the appearance, even if the content is unchanged.


Dokuwiki is a wiki system that has some particular merits for NCF users:
Dokuwiki is a wiki system that has some particular merits for NCF users:
Line 17: Line 17:
* unlike Mediawiki, Dokuwiki does not need an SQL database to store content
* unlike Mediawiki, Dokuwiki does not need an SQL database to store content
* all text is stored in plain text files
* all text is stored in plain text files
* the entire directory of software and content may be backed up and, for the most part, put on a new system to migrate the wiki or recover it if a server fails.
* the entire directory of software and content may be backed up and, for the most part, put on a new system to migrate the wiki, or recover it if a server fails.


=== Basic information needed for NCF ===
=== Basic information needed for NCF ===
Line 33: Line 33:
** you use yy999-123 and the same password for the ftp client.  
** you use yy999-123 and the same password for the ftp client.  
** There are a number of FTP clients for different platforms
** There are a number of FTP clients for different platforms
*** Windows: [http://www.wsftple.com/ ws_ftp]
*** Linux: [http://gftp.seul.org/ gftp]
*** Linux: [http://gftp.seul.org/ gftp]
*** Mac: [https://cyberduck.io/ CyberDuck]
*** Mac: [https://cyberduck.io/ CyberDuck]
*** [https://filezilla-project.org/ Filezilla] is an FTP client that may also be useful. There are versions for most platforms.
*** All platforms: [https://filezilla-project.org/ Filezilla]


=== Preparation for the wiki ===
=== Preparation for the wiki ===
Line 53: Line 52:
<nowiki><body></nowiki><br>
<nowiki><body></nowiki><br>
<nowiki><H1>Absolutely Marvelous Organization</H1></nowiki><br>
<nowiki><H1>Absolutely Marvelous Organization</H1></nowiki><br>
<br>
<nowiki><p>AMO is the most friendly Ottawa social society</p></nowiki><br>
<nowiki><p>AMO is the most friendly Ottawa social society</p></nowiki><br>
<br>
<nowiki><p>This website is intended to serve its members and staff.</p></nowiki><br>
<nowiki><p>This website is intended to serve its members and staff.</p></nowiki><br>
<br>
<nowiki><p>There is a repository of information on AMO at <a href="http://myorg.ncf.ca/wiki/">myorg.ncf.ca/wiki/</a></p></nowiki><br>
<nowiki><p>There is a repository of information on AMO at <a href="http://myorg.ncf.ca/wiki/">myorg.ncf.ca/wiki/</a></p></nowiki><br>
<br>
<nowiki><p>At this time, logins may be required for part of the content.</p></nowiki><br>
<nowiki><p>At this time, logins may be required for part of the content.</p></nowiki><br>
<br>
<nowiki></body></nowiki><br>
<nowiki></body></nowiki><br>
<nowiki></html></nowiki><br>
<nowiki></html></nowiki><br>
Line 80: Line 74:
Dokuwiki is written in the php computer language. NCF organizational members have php available in their website locations. Thus you simply point a web-browser (from your local machine) to:
Dokuwiki is written in the php computer language. NCF organizational members have php available in their website locations. Thus you simply point a web-browser (from your local machine) to:


* [http://myorg.ncf.ca/wiki/install.php http://myorg.ncf.ca/wiki/install.php]
* <nowiki>http://myorg.ncf.ca/wiki/install.php</nowiki>


This will present a form that allows the wiki to be set up. Make sure you answer all the mandatory questions. You can then start the wiki.
This will present a form that allows the wiki to be set up. Make sure you answer all the mandatory questions. You can then start the wiki.
Line 90: Line 84:
== Adding content ==
== Adding content ==


When you get into the wiki, you should log in, using the Dokuwiki adminstrator name and password. Then you can search for a page such as ''Mainpage'' which will not exist, but you can choose to create it, then use the editing functions to provide content.<!-- ??more?? -->
When you get into the wiki, you should log in, using the Dokuwiki administrator name and password. Then you can search for a page such as ''Mainpage'' which will not exist, but you can choose to create it, then use the editing functions to provide content.<!-- ??more?? -->
 
==External links==
*[https://www.dokuwiki.org/dokuwiki# Dokuwiki]
[[Category:Web space]]

Latest revision as of 18:08, 5 January 2017

This article shows how you can set up and use the Dokuwiki wiki system on an NCF organizational account web site.

Why Dokuwiki

Most people are familiar with the output of a wiki because of Wikipedia, though the understanding of how a wiki is useful is less common.

Essentially a wiki is a structured web-site that allows many users to view the content and (generally) fewer users to write or edit the content. The structure simplifies the process of adding and editing content. NCF uses the same software as Wikipedia, called Mediawiki, for the help database.

Wikis share the following features:

  • there is fairly simple formatting or markup to provide for some styling
  • there are many plugins to provide special features such as maths, music, etc.
  • there are a number of designs and templates to change the appearance, even if the content is unchanged.

Dokuwiki is a wiki system that has some particular merits for NCF users:

  • unlike Mediawiki, Dokuwiki does not need an SQL database to store content
  • all text is stored in plain text files
  • the entire directory of software and content may be backed up and, for the most part, put on a new system to migrate the wiki, or recover it if a server fails.

Basic information needed for NCF

Before you can begin, you need an organizational account for your organization, which we will call myorg. We will assume the username is yy999 with password yy999pw. The NCF administrator will give you:

  • The FTP login ID for myorg.ncf.ca as something like "yy999-123"
  • While not needed for Dokuwiki, you may also get database configuration info such as
    • Database host: localhost
    • Database user: e.g., yy999-321
    • Database password: e.g. T8234yuyp
    • Database name: myorg_ncf_ca
  • NCF keeps things pretty straightforward, and makes your website accessible via the URL myorg.ncf.ca. You can load content there with either the web file manager using your browser, or else with an ftp client.
    • you access the web file manager from start.ncf.ca using yy999 and yyy999pw.
    • you use yy999-123 and the same password for the ftp client.
    • There are a number of FTP clients for different platforms

Preparation for the wiki

It is recommended that the organization website have an index.html file and that the wiki be in a subdirectory. This allows for more flexibility in presenting information to site visitors. You may choose to have a completely closed wiki where the content is only visible to users who can log in using a username and password. These usernames and passwords are specific to the wiki. They are NOT related to the NCF usernames and passwords.

Here is a sample index.html file:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CCC21</title>
</head>
<body>
<H1>Absolutely Marvelous Organization</H1>
<p>AMO is the most friendly Ottawa social society</p>
<p>This website is intended to serve its members and staff.</p>
<p>There is a repository of information on AMO at <a href="http://myorg.ncf.ca/wiki/">myorg.ncf.ca/wiki/</a></p>
<p>At this time, logins may be required for part of the content.</p>
</body>
</html>

Setting up a Dokuwiki

Note that there are other sources for this or related information, for example this tutorial.

Download the software into the website location

  1. Download the latest stable Dokuwiki software from the website to your local computer. This will be a tarball or .tgz file.
  2. Unpack the tarball on your local computer.
  3. Rename the directory in which the software unpacks to the name of the directory you wish for your wiki, e.g., wiki or ourwiki.
  4. Using your ftp client, copy this whole directory to the NCF file location of your website. This will be the directory where the index.html file is located.

Run the installer

Dokuwiki is written in the php computer language. NCF organizational members have php available in their website locations. Thus you simply point a web-browser (from your local machine) to:

  • http://myorg.ncf.ca/wiki/install.php

This will present a form that allows the wiki to be set up. Make sure you answer all the mandatory questions. You can then start the wiki.

Possible problems

Sometimes the wiki requires permissions to be set. This can be done using some of the ftp clients.

Adding content

When you get into the wiki, you should log in, using the Dokuwiki administrator name and password. Then you can search for a page such as Mainpage which will not exist, but you can choose to create it, then use the editing functions to provide content.

External links