From 86079b1b918d87e32f423f06e0dad4a960937d3a Mon Sep 17 00:00:00 2001 From: Yaco Date: Tue, 13 Apr 2021 05:48:13 -0300 Subject: mejora dos --- README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4a266d0f..ded271da 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,64 @@ REEVOTech is a bundled of open source solution that allows builidng collective m * SemanticMediawiki 3.0.2 * Wordpress 5.2.3 * CiviCRM 5.16.4 + +## Initial setup + +### Deploy Files + +Get the files: + +```git clone https://git.reevo.org/reevo/reevotech/ /srv/reevotech``` + +### Configure and enable Nginx and php-fpm + +Edit ```/etc/nginx/nginx.conf``` and add at the end: ```include /srv/reevotech/etc/nginx/*.conf;``` + +Edit ```/etc/php/7.3/fpm/php-fpm.conf``` and add at the end: ```include=/srv/reevotech/etc/php-fpm/*.conf;``` + +### Setup a initial wiki instance + +#### Enable nginx and php + +... + +#### Database setup + +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 /var/dump +``` + +Create the global config file for the implementation. For that we define a string as `````` of the implementation: + +```cp etc/global_config.php.sample global_config-.php``` + +Replace the existing ```www/wiki/LocalSettings.php``` with the official file: + +```cp www/wiki/LocalSettings.php.sample www/wiki/LocalSettings.php``` + +Then edit the file, adding the created instances for your ``````, so it loads the required files. + +Run this script and pick the right domain, this creates tables and updates: ```php www/wiki/maintenance/update.php``` + +Then run this script and pick the right domain: ```php www/wiki/maintenance/runJobs.php``` + +#### Crear usuario para API + +Run the following contents: + +``` +php www/wiki/maintenance/createAndPromote.php --bureaucrat --sysop reebot + +php www/wiki/maintenance/resetUserEmail.php reebot reebot@reevo.org + +php www/wiki/maintenance/changePassword.php --user=reebot --password= +``` + + + +### QUE FALTA + + +Trabajos de CRON -- cgit v1.2.1