Main Menu

Powered by TEITOK
© Maarten Janssen, 2014-

TEITOK Help Pages

Installing TEITOK

Below are the instruction for getting a basic TEITOK version up-and-running; to get to the checks page where the system takes over and guides you further, these steps should be sufficient, and only require Apache and PHP to be up-and-running. These are just indicative, you can deviate wherever you like. We are working on a more scripted version of these steps, for which the TEITOK source first needs to become a public repository:

  1. Go to GitLab and register
  2. Go to our Facebook page and send a message with your GitLab username
  3. Wait untill you have been added to the repository
  4. Go to /home/git and clone TEITOK: git clone https://gitlab.com/maartenes/TEITOK.git
  5. Also clone Smarty: git clone https://github.com/smarty-php/smarty.git
  6. Create a root folder for TEITOK under Apache: mkdir /var/www/html/teitok
  7. Create a file /var/www/html/teitok/.htaccess file with the following content:
    DirectoryIndex index.php
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*?)/(.*)$ $1/index.php/$2
    SetEnv SMARTY_DIR /home/git/smarty/libs
    SetEnv TT_SHARED /var/www/html/teitok/shared
    SetEnv TT_ROOT /home/git/TEITOK
  8. Copy the checks folder: cp -R /home/git/TEITOK/checks /var/www/html/teitok
  9. Copy the Scripts folder: cp -R /home/git/TEITOK/Scripts /var/www/html/teitok
  10. Copy the shared folder for your system-wide settings: cp -R /home/git/TEITOK/shared /var/www/html/teitok
  11. Head over to the checks folder and check what you are still missing:

Back to index