diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 17 |
2 files changed, 9 insertions, 9 deletions
@@ -41,6 +41,7 @@ tmp/wiki/cache/* www/wiki/LocalSettings*.php www/wiki/robots.txt www/wiki/favicon.ico +www/wiki/images-* www/wiki/deployments/* !www/wiki/deployments/base/ @@ -34,7 +34,7 @@ Edit ```/etc/php/7.3/fpm/php-fpm.conf``` and add at the end: ```include=/srv/ree Create the database with the following command: ``` -php www/wiki/maintenance/install.php --dbname=reevotech_wiki --dbserver="localhost" --installdbuser=root --installdbpass=<root_password> --dbuser=reevotech_wiki --dbpass=<password> --server="http://reevo.red" --scriptpath=/ --lang=es --pass=yaco22 "REEVO" "Admin" --confpath www/wiki/ +php www/wiki/maintenance/install.php --dbname=reevotech_wiki --dbserver="localhost" --installdbuser=root --installdbpass=<root_password> --dbuser=reevotech_wiki --dbpass=<password> --server="http://reevo.red" --scriptpath=/ --lang=es --pass=password123 "Deployment Name" "Admin" --confpath www/wiki/ ``` Create the global config file for the implementation. For that we define a string as ```<id>``` of the implementation: @@ -51,21 +51,20 @@ Run this script and pick the right domain, this creates tables and updates: ```p Then run this script and pick the right domain: ```php www/wiki/maintenance/runJobs.php --conf www/wiki/LocalSettings-<domain>.php``` -#### Crear usuario para API +#### API User creation Run the following contents: ``` -php www/wiki/maintenance/createAndPromote.php --bureaucrat --sysop reebot <password> +php www/wiki/maintenance/createAndPromote.php --bureaucrat --sysop reebot <password> --conf www/wiki/LocalSettings-<domain>.php -php www/wiki/maintenance/resetUserEmail.php reebot reebot@reevo.org +php www/wiki/maintenance/resetUserEmail.php reebot reebot@reevo.org --conf www/wiki/LocalSettings-<domain>.php -php www/wiki/maintenance/changePassword.php --user=reebot --password=<password> +php www/wiki/maintenance/changePassword.php --user=reebot --password=<password> --conf www/wiki/LocalSettings-<domain>.php ``` +#### Setup cron tasks +Add this to your crontab file: -### QUE FALTA - - -Trabajos de CRON +```*/10 * * * * /usr/bin/php /srv/reevotech/www/wiki/maintenance/runJobs.php --conf /srv/reevotech/www/wiki/LocalSettings-<domain>.php > /var/log/runJobs.log 2>&1 ``` |