Standardní způsob instalace PmWiki

1. Stažení poslední verze PmWiki v zip archivu (pmwiki-latest.zip) - viz stránky http://www.pmwiki.org/pub/pmwiki/.

2. Rozbalení archivu do adresáře na disku s následující strukturou :

    README.txt        Text s výchozími instrukcemi
    pmwiki.php        Základní PmWiki skript
    local/            Konfigurační skript ( vlastní nastavení )
    cookbook/         Skripty s přídavnými funkcemi z Cookbook
    docs/             Dokumentace, příklad konfiguračního skriptu 
    pub/              Sdílené soubory
      css/            Šablony stylů CSS
      skins/          Šablony užvatelských skinů (custom)
    scripts/          Skripty systému PmWiki
    wikilib.d/        Výchozí PmWiki stránky

3. Přenos dat na web s využitím služby FTP

4. Vytvoření nových adresářů

wiki.d - pro nově vytvořené stránky
uploads - pro nahrané (uploadované) soubory

5. Nastavení práva zápisu do vytvořených adresářů ("chmod 777 wiki.d").

6. Inicializace Check out Initial Setup Tasks for other tasks you may want to perform to begin customizing your PmWiki installation. You might also want to peruse the Release Notes? for further information.

7. Nastavení češtiny If you want to use PmWiki in a different language download the international language pack as zip archive (i18n.zip) or as gzipped tarball (i18n.tgz) from http://www.pmwiki.org/pub/pmwiki/. Then extract it and copy the files into the wikilib.d/ directory as described above.

There are two directories in the decompressed i18n archive, scripts and wikilib.d. Copy the files respectively contained in these directories to the scripts and wikilib.d of your PmWiki directory. For example, for French localization, PmWikiFr.* and PmWiki.* must be contained in the same directory.

Then, enable localization by adding an instruction to local/config.php to load the language translation page of your choice. For instance, XLPage('fr','PmWikiFr.XLPage'); loads the French language page PmWikiFr.XLPage.

Read more about this on Internationalizations.

Notes

  • The PmWiki distribution deliberately doesn't include an index.php file. Resist the temptation to rename pmwiki.php to index.php because if you rename the file it will not be overwritten during an upgrade. Instead, add an index.php "wrapper script" with the following single line (missing a closing " ?>" tag deliberately):
    <?php include('pmwiki.php');
  • If using the Unix tar command to unpack the archive in step 2 above, be sure that the files are created with sufficient permissions for the webserver to be able to access them. Usually you can ensure this by typing umask 002 on the command line before unpacking the tar file.
  • When installing on windows you should take a look at Cookbook:SimultaneousEdits to enable simultaneous edits? on that platform.
  • Additional tips can be found on the Troubleshooting? page.

<< | Documentation Index | >>