summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 8 insertions, 9 deletions
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=<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 ```