服务器开发环境文档
This commit is contained in:
parent
7508b035c0
commit
19bb96b315
28
doc/服务器开发环境搭建.docx
Normal file
28
doc/服务器开发环境搭建.docx
Normal file
@ -0,0 +1,28 @@
|
||||
当前文档所在目录有mysql和redis安装文件
|
||||
RT
|
||||
Mysql安装与配置
|
||||
安装windows版本mysql,root密码设置为Luna2024!
|
||||
登录mysql:mysql -u root -p
|
||||
创建数据库ro:create database ro
|
||||
导入数据库ro:source luna_gs.sql
|
||||
Redis安装与配置
|
||||
安装windows版本redis
|
||||
修改配置文件redis.windows-service.conf中requirepass Luna2024!
|
||||
运行ETCD
|
||||
./etcd.exe
|
||||
Goland工程
|
||||
使用Goland打开server目录,server的.idea目录有工程配置
|
||||
Unity客户端修改Lua配置为本地地址
|
||||
local PlatformPack = {
|
||||
-- URL_KEY = 'https://jianjia-cangcang.tech/',
|
||||
-- SERVERLIST_URL = 'https://jianjia-cangcang.tech/serverlist',
|
||||
-- NOTIFY_URL = 'https://jianjia-cangcang.tech/notice',
|
||||
-- SPECIAL_INFO_URL = 'https://jianjia-cangcang.tech/channel',
|
||||
-- CUSTOMER_SERVICE_INFO_URL = 'https://jianjia-cangcang.tech/vipService',
|
||||
URL_KEY = 'http://127.0.0.1/',
|
||||
SERVERLIST_URL = 'http://127.0.0.1:6410/serverlist',
|
||||
NOTIFY_URL = 'https://jianjia-cangcang.tech/notice',
|
||||
SPECIAL_INFO_URL = 'https://jianjia-cangcang.tech/channel',
|
||||
CUSTOMER_SERVICE_INFO_URL = 'https://jianjia-cangcang.tech/vipService',
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user