Gitiwiki is a PHP application, using the framework Jelix, and the Glip library to read the content of a git repository.
WARNING: You will probably think that the installation is a bit complicated for a non-developer, but don't worry! For the moment, GitiWiki targets only developers who want to contribute to the project. The first release will contain of course a wizard which will simplify everything!
You should have installed:
- a web server (Apache or Nginx),
- PHP 5.3 minimum
- Git
No database is required.
Here are steps:
- checkout the source code with
git clone
- put "write" rights for your web server on these directories
- temp/gitiwiki
- gitiwiki/var/log/
- gitiwiki/var/books/
- configure a virtual host with
gitiwiki/www
as a document root - configure your virtual host with an alias
/jelix/
tolib/jelix-www
- in gitiwiki/var/config, copy localconfig.ini.php.dist to localconfig.ini.php and profiles.ini.php.dist to profiles.ini.php
- open a console, go into gitiwiki/install, and launch
php installer.php
In next instructions, we assume that the domain name of your virtual host is localhost.
Gitiwiki is almost ready. It needs now a Git repository.
- in the console, go into gitiwiki/var/repositories
- clone here a git repository containing files you want to display with gitiwiki
- or create a new repository: git init default
And that's all.
If you type http://localhost/index.php/wiki/default/, you should see a page with a "hello world" ;-)
If you want to install gitiwiki to launch its tests and/or to contribute to the project, see the Contributing.md file at the root of the sources.