+ windows编译脚本 (#245)
新增windows编译脚本 win_build_all_service.cmd windows下编译脚本 win_start_all_service.cmd windows下执行脚本pull/255/head
parent
126e1f44ca
commit
2e552e8711
@ -0,0 +1,22 @@
|
|||||||
|
SET ROOT=%cd%
|
||||||
|
mkdir %ROOT%\..\bin\
|
||||||
|
cd ..\cmd\open_im_api\ && go build -ldflags="-w -s" && move open_im_api.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\open_im_cms_api\ && go build -ldflags="-w -s" && move open_im_cms_api.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\open_im_demo\ && go build -ldflags="-w -s" && move open_im_demo.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\open_im_msg_gateway\ && go build -ldflags="-w -s" && move open_im_msg_gateway.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\open_im_msg_transfer\ && go build -ldflags="-w -s" && move open_im_msg_transfer.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\open_im_push\ && go build -ldflags="-w -s" && move open_im_push.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\cmd\rpc\open_im_admin_cms\&& go build -ldflags="-w -s" && move open_im_admin_cms.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_auth\&& go build -ldflags="-w -s" && move open_im_auth.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_cache\&& go build -ldflags="-w -s" && move open_im_cache.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_conversation\&& go build -ldflags="-w -s" && move open_im_conversation.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_friend\&& go build -ldflags="-w -s" && move open_im_friend.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_group\&& go build -ldflags="-w -s" && move open_im_group.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_message_cms\&& go build -ldflags="-w -s" && move open_im_message_cms.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_msg\&& go build -ldflags="-w -s" && move open_im_msg.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_office\&& go build -ldflags="-w -s" && move open_im_office.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_organization\&& go build -ldflags="-w -s" && move open_im_organization.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_statistics\&& go build -ldflags="-w -s" && move open_im_statistics.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\rpc\open_im_user\&& go build -ldflags="-w -s" && move open_im_user.exe %ROOT%\..\bin\
|
||||||
|
cd ..\..\..\cmd\Open-IM-SDK-Core\ws_wrapper\cmd\&& go build -ldflags="-w -s" open_im_sdk_server.go && move open_im_sdk_server.exe %ROOT%\..\bin\
|
||||||
|
cd %ROOT%
|
@ -0,0 +1,22 @@
|
|||||||
|
SET ROOT=%cd%
|
||||||
|
cd %ROOT%\..\bin\
|
||||||
|
start cmd /C .\open_im_api.exe -port 10002
|
||||||
|
start cmd /C .\open_im_cms_api.exe -port 10006
|
||||||
|
start cmd /C .\open_im_user.exe -port 10110
|
||||||
|
start cmd /C .\open_im_friend.exe -port 10120
|
||||||
|
start cmd /C .\open_im_group.exe -port 10150
|
||||||
|
start cmd /C .\open_im_auth.exe -port 10160
|
||||||
|
start cmd /C .\open_im_admin_cms.exe -port 10200
|
||||||
|
start cmd /C .\open_im_message_cms.exe -port 10190
|
||||||
|
start cmd /C .\open_im_statistics.exe -port 10180
|
||||||
|
start cmd /C .\open_im_msg.exe -port 10130
|
||||||
|
start cmd /C .\open_im_office.exe -port 10210
|
||||||
|
start cmd /C .\open_im_organization.exe -port 10220
|
||||||
|
start cmd /C .\open_im_conversation.exe -port 10230
|
||||||
|
start cmd /C .\open_im_cache.exe -port 10240
|
||||||
|
start cmd /C .\open_im_push.exe -port 10170
|
||||||
|
start cmd /C .\open_im_msg_transfer.exe
|
||||||
|
start cmd /C .\open_im_sdk_server.exe -openIM_api_port 10002 -openIM_ws_port 10001 -sdk_ws_port 10003 -openIM_log_level 6
|
||||||
|
start cmd /C .\open_im_msg_gateway.exe -rpc_port 10140 -ws_port 10001
|
||||||
|
start cmd /C .\open_im_demo.exe -port 10004
|
||||||
|
cd %ROOT%
|
Loading…
Reference in new issue