- Install Visual Studio Community 2019
- Build C++ Boost
- 下载最新的boost到
- 打开Visual Studio Command Prompt
- 进入解压后的目录
- 运行 bootstrap.bat
b2 --with-system --with-date_time --with-regex --with-thread --with-program_options --with-locale --build-type=complete
git clone https://github.com/ZhuBicen/Lightyear.git
- Ensure
python 2.7
is in%PATH%
- Download
gyp
fromgit clone https://chromium.googlesource.com/external/gyp
- Add
%GYP_TOP%
to%PATH%
- Change directory to
client
- Run
gyp client.gyp --depth .
to generate Visual Studio Solution Files
Change RuntimeLibray option
- NOTE: To create release mode binary, Messenger/res/skin.zip should be recreated.
- Make sure
git
is in the$PATH
, to get the git revision when building binary.
- 安装MySQL
- TBD
-
安装最新的golang编译器
-
设置相应的GOPATH,比如 d:\gopath;D:\Code\Lightyear\proto\gopath
-
安装mercurial,在.hgrc中配置hostfingerprints如果出现连接错误,
-
[hostfingerprints] code.google.com = 83:ed:f0:fc:00:76:6f:2c:84:62:1e:3f:e2:cf:e4:60:92:c6:4d:5c
-
在git bash中执行如下命令,以安装google protobuffer: go get code.google.com/p/goprotobuf/{proto,protoc-gen-go}
-
cd Lightyear\server
-
go build
-
run server.exe
NOTE: 聊天信息保存在lightyear.chatmessage表中
-
Online version is here
-
Install Graphviz
-
Install PlantUML
-
Install PlantUMLQeditor
-
使用QEditor编辑 Messenger/sc/StateChart.txt