source: trunk/ReadMe.txt

Last change on this file was 898, checked in by chronos, 13 months ago
  • Fixed: Error if export version was not selected.
File size: 2.4 KB
Line 
1Web-based translation system WoWpreklad
2=======================================
3
41) Information about version and source code location:
5
6Source code repository: https://app.zdechov.net/wowpreklad
7Change history: https://app.zdechov.net/wowpreklad/log/
8License: GNU/GPLv3
9Authors: Chronos (robie@centrum.cz), Maron (maron2@centrum.cz)
10Supported software: PHP 8.1
11
122) Base configuration
13
14For initial web setup there is a necessary to copy config.sample.php file to
15config.php inside directory includes and modify contained settings accrording
16own needs.
17
183) Banners display
19
20In subdirectory "banners" is used file .htaccess for setting php script execution
21for image generation and referred address recording.
22In apache server configuration in file httpd.conf is necessary to set for the
23directory:
24
25<Directory "/var/www/html/wowpreklad/banners/">
26 Allowoverride All
27</Directory>
28
29In the same time it is necessary to have enabled apache module rewrite.
30
31
324) Write permissions
33
34Write permission for directory "tmp" needs to be set. In this directory
35temporary files like generated exports are stored.
36
37
385) Database initialization
39
40Create database in your MySQL server and set login data to file includes/config.php.
41Continue with database installation on page "admin/install.php".
42
43
446) Text import
45
46Source files for import are located at directory "source". Here are then placed
47subdirectories named by single individual game versions. In these subdirectories
48are also subdirectories dbc, sql a lua from import is taken.
49
50
517) Background script for export
52
53At system start there is a need to start script Modules/Export/ProcessTask.php
54for processing long lasting export tasks.
55Process have to be executed under same user as web server (apache),
56because of correct permission setting during file creation in directory
57tmp and because of security.
58
59
608) AoWoW download
61
62Download AoWoW from repository https://svn.zdechov.net/wowpreklad/aowow
63as subdirectory to directory of wowpreklad. Process according instructions in
64file ReadMe.txt at the same directory.
65
66
679) AoWoW background script
68
69Set periodic run of script for translation synchronization to AoWoW system.
70Every night let run script Modules/Export/ProcessAoWoWExport.php.
71
72Create executable scrip /etc/cron.daily/wowpreklad_aowow_export.sh
73#!/bin/sh
74cd /var/www/html/wowprekladu/export/
75php process_aowow_export.php
76
77
Note: See TracBrowser for help on using the repository browser.