-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1、配置模块梳理 2、配置模板功能支持 3、一些接口优化
- Loading branch information
Showing
75 changed files
with
668 additions
and
2,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--eufaula配置参数 | ||
|
||
--服务器集群,对应后台的服务器id | ||
QUANTA_CLUSTER = 2 | ||
|
||
--主机IP | ||
QUANTA_HOST_IP = "10.98.8.59" | ||
|
||
--mongo地址 | ||
QUANTA_MONGO_DB = "mongodb://root:MTAE379673#@10.96.8.100:27017" | ||
|
||
--redis地址 | ||
QUANTA_REDIS_DB = "redis://root:[email protected]:6379" | ||
|
||
--企业微信地址 | ||
QUANTA_WECHAT_URL = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=ee6d97c5-477d-436f-83db-dd5361a5e8bd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
|
||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
set /p CONF=please input your conf name: | ||
|
||
set RootDir=%~dp0 | ||
|
||
set ConfDir=%RootDir%quanta | ||
rmdir /Q /S %ConfDir% | ||
md %ConfDir% | ||
|
||
set TplDir=%RootDir%template | ||
cd %TplDir% | ||
|
||
set SCRIPT=../../extend/lmake/ltemplate.lua | ||
set ENVIRON=../config/%CONF%.conf | ||
for %%i in (*.conf) do ( | ||
..\lua.exe %SCRIPT% %%i %ConfDir%\%%i %ENVIRON% | ||
) | ||
|
||
pause | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
taskkill /f /im quanta.exe | ||
|
||
::start "accord" quanta.exe quanta\accord.conf --index=1 --port=1 | ||
start "monitor" quanta.exe quanta\monitor.conf --index=1 --port=1 | ||
start "router1" quanta.exe quanta\router.conf --index=1 --port=1 | ||
start "cache1" quanta.exe quanta\cache.conf --index=1 --port=1 | ||
start "mongo" quanta.exe quanta\mongo.conf --index=1 --port=1 | ||
start "redis" quanta.exe quanta\redis.conf --index=1 --port=1 | ||
start "gate1" quanta.exe quanta\gateway.conf --index=1 --port=1 | ||
start "center" quanta.exe quanta\center.conf --index=1 --port=1 | ||
start "login" quanta.exe quanta\login.conf --index=1 --port=1 |
Oops, something went wrong.