-
Notifications
You must be signed in to change notification settings - Fork 0
DeployGuide
guojiawei edited this page Sep 10, 2018
·
1 revision
- MdM2使用Sqlite3作为轻量级数据库,所以请确保服务器上已经安装sqlite3环境
- 将项目git clone下来
- 在项目目录下使用
pip3 install -r requirements.txt安装依赖 - 编辑config.porperties文件
- 修改HOST为服务器想使用的HOST(默认0.0.0.0也可以)
- 修改PORT为服务器使用的监听端口(默认8080)
- 修改JWTSecretKey为新的密码
- 如果有INSTALL字段,删除改行(重新安装也需要这样操作)
-
python3 MdManager.py启动 - 访问
http://xxx.xxx.xxx.xxx:xxxx/mdm2/install执行安装
- MdM2 uses Sqlite3 as a lightweight database, so make sure the sqlite3 environment is installed on the server.
- git clone the project
- Use the
pip3 install -r requirements.txtinstallation dependency in the project directory. - Edit the config.porperties file
- Modify HOST to the HOST that the server wants to use (default 0.0.0.0 is also available)
- Modify PORT as the listening port used by the server (default 8080)
- Modify JWTSecretKey to a new password
- If there is an INSTALL field, delete the line (this is also required for reinstallation)
-
python3 MdManager.pystarts - Visit
http://xxx.xxx.xxx.xxx:xxxx/mdm2/installto perform the installation.