From a913a4958ade3a1d3bc1fe46417ee3f5bd9f4131 Mon Sep 17 00:00:00 2001 From: Yaco Date: Tue, 2 Nov 2021 20:05:52 +0000 Subject: updates README --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a9f7da4e..ada3c100 100644 --- a/README.md +++ b/README.md @@ -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= --dbuser=reevotech_wiki --dbpass= --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= --dbuser=reevotech_wiki --dbpass= --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 `````` 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-.php``` -#### Crear usuario para API +#### API User creation Run the following contents: ``` -php www/wiki/maintenance/createAndPromote.php --bureaucrat --sysop reebot +php www/wiki/maintenance/createAndPromote.php --bureaucrat --sysop reebot --conf www/wiki/LocalSettings-.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-.php -php www/wiki/maintenance/changePassword.php --user=reebot --password= +php www/wiki/maintenance/changePassword.php --user=reebot --password= --conf www/wiki/LocalSettings-.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-.php > /var/log/runJobs.log 2>&1 ``` -- cgit v1.2.1