brook-web
brook程序服务端Web后台管理服务器(Linux|MacOS),基于python、flask、flask-restful
安全性说明WiKi
点我查看项目WiKi
Docker部署
方式一、方式二、常规部署
1、打开终端,以root用户登录
2、使用 cd 命令 进入brook-web文件夹
3、安装所依赖的库、框架
pip install -r requirements.txt
或 python3环境下的pip3安装
pip3 install -r requirements.txt
4、下载brook主体程序到brook-web文件夹内
python install-brook.py
5、开启brook-web服务
前台模式
python brook-web.py
后台模式
nohup python brook-web.py >/dev/null 2>log &
默认端口5000 若要修改服务端口,参考:
python brook-web.py --port=8080
或
python brook-web.py 8080
说明
请确保你的服务器(Linux|MacOS)已安装 python、curl
- python
本项目依赖的语言环境
- curl
install-brook.py程序用到的下载程序
开始访问
http://主机ip:端口号 例如:
请访问http://123.123.123.123:5000
初始用户信息
初始账号 admin
初始密码 admin
安全性说明
License
MIT License
Copyright (c) 2018 Ccapton
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.