3 Star 1 Fork 0

damoyelang1992 / engine_room_monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

机房监控项目

工程使用Flask框架

使用python3.6开发

工程依赖软件包在 requirements.txt 里面

使用方法

  • 创建基于 Python3.6 的 virtualenv 虚拟环境
  • 激活环境之后运行 pip install -r requirements.txt 安装工程所需依赖软件包
  • 修改config.py 里面 SQLALCHEMY_DATABASE_URI 字段数据库信息,并保证用户对于数据库足够权限
  • 运行 app/__init__.py 初始化数据库 现在每次启动都会创建数据表
  • 测试环境:运行 python manage.py 开始运行 (调试运行)
  • 基于 Python WSGI 部署:运行 bash run_gunicorn.sh 即可访问 服务器 ip:5000(在脚本中自行更改端口)(调试运行)
  • 基于 Docker 部署,请自行编译Dockerfile, 并部署 (生产环境可用)
  • Nginx 反向代理请自行配置 (生产环境可用)

程序文档参见 : http://damoyelang1992.oschina.io/engine_room_monitor/document/html/index.html

方法文档参见 ./document/*.md

空文件

简介

机房监控系统 API 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/nt_qinfei/engine_room_monitor.git
git@gitee.com:nt_qinfei/engine_room_monitor.git
nt_qinfei
engine_room_monitor
engine_room_monitor
master

搜索帮助