forked from forcemain/xm_zoomeye_redis_monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
hanlingzhi/xm_zoomeye_redis_monitor
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# 安装说明 #>安装依赖 yum -y install python python-devel python-setuptools easy_install --upgrade pip pip install --upgrade -r requirements.txt # 高级配置 #>初始数据 rm -rf <pwd>/migrations rm -rf <pwd>/app/conf/rdsdata.db vim app/conf/config.py SQLALCHEMY_DATABASE_URI = 'sqlite:///app/conf/rdsdata.db' #>数据迁移 python <pwd>/xmzoomeye-redis db init python <pwd>/xmzoomeye-redis db migrate python <pwd>/xmzoomeye-redis db upgrade #>还原配置 vim app/conf/config.py SQLALCHEMY_DATABASE_URI = 'sqlite:///conf/rdsdata.db' #>设置监听 vim <pwd>/start_service.sh (python ${prog_path} runserver -h 0.0.0.0 -p 8081 --threaded -r -D &>/dev/null)& 说明: -h 表示监听的地址, -p表示监听的端口, 如果无法启动请检查(lsof -i:port)IP或端口是否被占用 # 运行说明 cd <pwd>/xmzoomeye-redis chmod u+x *.sh ./restart_service.sh # 测试访问 curl http://127.0.0.1:8081/
About
A very simple realtime redis monitor developed by flask+sqlite+redis
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 95.3%
- Python 2.8%
- HTML 1.2%
- Other 0.7%