Use the service dashboard instead of wt and conemu

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

@ -254,6 +254,7 @@ copy "%RC_ROOT%\distribution\utils\xdelta.exe" "xdelta.exe"
copy "%RC_ROOT%\distribution\utils\7za.exe" "7za.exe" copy "%RC_ROOT%\distribution\utils\7za.exe" "7za.exe"
copy "%RC_ROOT%\distribution\utils\nircmd.exe" "nircmd.exe" copy "%RC_ROOT%\distribution\utils\nircmd.exe" "nircmd.exe"
copy "%RC_ROOT%\distribution\utils\msxsl.exe" "msxsl.exe" copy "%RC_ROOT%\distribution\utils\msxsl.exe" "msxsl.exe"
copy "%RC_ROOT%\distribution\utils\servdash.exe" "servdash.exe"
copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Core.dll Qt5Core.dll copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Core.dll Qt5Core.dll
copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Gui.dll Qt5Gui.dll copy C:\2019q4_external_v142_x64\qt5\bin\Qt5Gui.dll Qt5Gui.dll

@ -1,3 +0,0 @@
@echo off
title Access Log
powershell Get-Content -Path ".\nginx\logs\access.log" -Wait

@ -1,3 +0,0 @@
@echo off
title Error Log
powershell Get-Content -Path ".\nginx\logs\error.log" -Wait

@ -1,8 +0,0 @@
@echo off
cd mariadb
title MariaDB
echo MariaDB on localhost:9040
echo Launch `cmd_tools.bat` and run `mysql --port=9040` to connect
@echo on
if not exist ..\..\pipeline\shard_dev\mysql\my.ini .\bin\mysql_install_db --default-user --datadir=..\..\pipeline\shard_dev\mysql
.\bin\mysqld --no-defaults --port=9040 --datadir=..\..\pipeline\shard_dev\mysql --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --console --standalone

@ -1,47 +0,0 @@
@echo off
title NGINX
echo NGINX on http://localhost:9042/
if /I "%RC_ROOT%"=="" call ..\path_config.bat
copy config.inc.php .\phpmyadmin\config.inc.php
cd nginx
for /f "usebackq delims=" %%i in (
`powershell -noprofile -c "\"%RC_ROOT%\" -replace '\\', '/'"`
) do set "RC_ROOT_FW=%%i"
(
echo worker_processes 1;
echo events {
echo worker_connections 1024;
echo }
echo http {
echo include mime.types;
echo default_type application/octet-stream;
echo sendfile on;
echo keepalive_timeout 65;
echo server {
echo listen 9042;
echo server_name localhost;
echo root %RC_ROOT_FW%/code/web/public_php;
echo index index.php index.html index.htm;
echo location ~ /\.ht {
echo deny all;
echo }
echo location /phpmyadmin {
echo root %RC_ROOT_FW%/external;
echo location ~ ^^/phpmyadmin/^(.+\.php^)$ {
echo fastcgi_pass 127.0.0.1:9041;
echo fastcgi_index index.php;
echo fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
echo include fastcgi_params;
echo }
echo }
echo location ~ \.php$ {
echo fastcgi_pass 127.0.0.1:9041;
echo fastcgi_index index.php;
echo fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
echo include fastcgi_params;
echo }
echo }
echo }
)> .\conf\nginx.conf
@echo on
nginx

@ -1,6 +0,0 @@
@echo off
cd php
title PHP-CGI
echo PHP-CGI on 127.0.0.1:9041
@echo on
php-cgi.exe -b 127.0.0.1:9041

@ -12,7 +12,7 @@ taskkill /f /im mysqld.exe
goto :mariadbnotfound goto :mariadbnotfound
:mariadbfound :mariadbfound
cd mariadb cd mariadb
.\bin\mysqladmin -u root shutdown .\bin\mysqladmin -u root -P 9040 shutdown
cd .. cd ..
:mariadbwait :mariadbwait
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 ..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100

@ -1,7 +1,6 @@
@echo off @echo off
title Ryzom Core Web rem title Ryzom Core Web
call web_off rem call web_off
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100
cd.>.\nginx\logs\access.log cd.>.\nginx\logs\access.log
cd.>.\nginx\logs\error.log cd.>.\nginx\logs\error.log
call ..\path_config.bat call ..\path_config.bat
@ -10,12 +9,6 @@ mkdir ..\save\dev
mkdir ..\save\dev\mysql mkdir ..\save\dev\mysql
mkdir ..\save\dev\www mkdir ..\save\dev\www
set PATH=%~dp0\php;%~dp0\mariadb;%~dp0\nginx;%PATH% set PATH=%~dp0\php;%~dp0\mariadb;%~dp0\nginx;%PATH%
wt -w "Ryzom Core Web" -d . -p "Command Prompt" access-log.bat call mariadb_setup.bat
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100 call nginx_setup.bat
wt -w "Ryzom Core Web" -d . -p "Command Prompt" error-log.bat start ..\distribution\ryzom_tools_win_x64\servdash.exe web_dash.ini
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100
wt -w "Ryzom Core Web" -d . -p "Command Prompt" mariadb.bat
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100
wt -w "Ryzom Core Web" -d . -p "Command Prompt" php.bat
..\distribution\ryzom_tools_win_x64\nircmd.exe wait 100
wt -w "Ryzom Core Web" -d . -p "Command Prompt" nginx.bat

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_mainland.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_mainland.ini

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_mainland.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_mainland.ini

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_ring.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_ring.ini

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_ring.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_ring.ini

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Release;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_unifier.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_unifier.ini

@ -1,5 +1,5 @@
call path_config.bat call path_config.bat
cd /d %RC_ROOT% cd /d %RC_ROOT%
set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%RC_ROOT%\external\conemu;%PATH% set PATH=%RC_ROOT%\build\server_x64\bin\Debug;C:\2019q4_external_v142_x64\zlib\bin;C:\2019q4_external_v142_x64\curl\bin;C:\2019q4_external_v142_x64\openssl\bin;C:\2019q4_external_v142_x64\libjpeg\bin;C:\2019q4_external_v142_x64\libpng\bin;C:\2019q4_external_v142_x64\libiconv\bin;C:\2019q4_external_v142_x64\libxml2\bin;C:\2019q4_external_v142_x64\freetype\bin;C:\2019q4_external_v142_x64\squish\bin;C:\2019q4_external_v142_x64\ogg;C:\2019q4_external_v142_x64\vorbis\bin;C:\2019q4_external_v142_x64\openal-soft\bin;C:\2019q4_external_v142_x64\lua\bin;C:\2019q4_external_v142_x64\luabind\bin;C:\2019q4_external_v142_x64\mariadb-connector-c\bin;C:\2019q4_external_v142_x64\assimp\bin;C:\2019q4_external_v142_x64\qt5\bin;C:\2019q4_external_v142_x64\qt5\plugins;%PATH%
cd pipeline\shard_dev cd pipeline\shard_dev
start conemu64 start_unifier.bat start %RC_ROOT%\distribution\ryzom_tools_win_x64\servdash start_unifier.ini

@ -1,2 +0,0 @@
cd external
call web_off
Loading…
Cancel
Save