Preconfigure web

ryzomclassic-develop
kaetemi 3 years ago
parent 08a28193b4
commit 9230eb1621
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -0,0 +1,29 @@
<?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 5.1.0 setup script
* Date: Sat, 12 Jun 2021 21:05:15 +0000
*/
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = 9040;
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['blowfish_secret'] = '@]$36/0i~1UD[EOCaJHcO;W9gd.SL1@';
$cfg['DefaultLang'] = 'en';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>

@ -2,6 +2,7 @@
title NGINX title NGINX
echo NGINX on http://localhost:9042/ echo NGINX on http://localhost:9042/
if /I "%RC_ROOT%"=="" call ..\path_config.bat if /I "%RC_ROOT%"=="" call ..\path_config.bat
copy config.inc.php .\phpmyadmin\config.inc.php
cd nginx cd nginx
for /f "usebackq delims=" %%i in ( for /f "usebackq delims=" %%i in (
`powershell -noprofile -c "\"%RC_ROOT%\" -replace '\\', '/'"` `powershell -noprofile -c "\"%RC_ROOT%\" -replace '\\', '/'"`

@ -1,5 +1,5 @@
call ..\path_config.bat call ..\path_config.bat
python web_config.py python web_config.py
cd mariadb cd mariadb
.\bin\mysql --port=9040 -u=root ..\web_config_local.sql .\bin\mysql -P 9040 -u root < ..\web_config_local.sql
cd .. cd ..

Loading…
Cancel
Save