Web-based translation system WoWpreklad ======================================= 1) Information about version and source code location: Source code repository: https://app.zdechov.net/wowpreklad Change history: https://app.zdechov.net/wowpreklad/log/ License: GNU/GPLv3 Authors: Chronos (robie@centrum.cz), Maron (maron2@centrum.cz) Supported software: PHP 8.1 2) Base configuration For initial web setup there is a necessary to copy config.sample.php file to config.php inside directory includes and modify contained settings accrording own needs. 3) Banners display In subdirectory "banners" is used file .htaccess for setting php script execution for image generation and referred address recording. In apache server configuration in file httpd.conf is necessary to set for the directory: Allowoverride All In the same time it is necessary to have enabled apache module rewrite. 4) Write permissions Write permission for directory "tmp" needs to be set. In this directory temporary files like generated exports are stored. 5) Database initialization Create database in your MySQL server and set login data to file includes/config.php. Continue with database installation on page "admin/install.php". 6) Text import Source files for import are located at directory "source". Here are then placed subdirectories named by single individual game versions. In these subdirectories are also subdirectories dbc, sql a lua from import is taken. 7) Background script for export At system start there is a need to start script Modules/Export/ProcessTask.php for processing long lasting export tasks. Process have to be executed under same user as web server (apache), because of correct permission setting during file creation in directory tmp and because of security. 8) AoWoW download Download AoWoW from repository https://svn.zdechov.net/wowpreklad/aowow as subdirectory to directory of wowpreklad. Process according instructions in file ReadMe.txt at the same directory. 9) AoWoW background script Set periodic run of script for translation synchronization to AoWoW system. Every night let run script Modules/Export/ProcessAoWoWExport.php. Create executable scrip /etc/cron.daily/wowpreklad_aowow_export.sh #!/bin/sh cd /var/www/html/wowprekladu/export/ php process_aowow_export.php