a domain ssl cert admin
Project description
Domain Admin
基于Python + Vue.js 技术栈的域名管理控制台
运行环境:
- Python 3.7.0
安装
$ pip install domain_admin
# 启动运行
$ gunicorn 'domain_admin.main:app'
项目简介
- https://gitee.com/mouday/domain-admin
- https://github.com/mouday/domain-admin
- https://pypi.org/project/domain-admin/
项目截图
网页版:
桌面端:
功能:
- 域名证书信息查询
- 监控域名证书信息,到期提醒
- api接口 浏览器 桌面 移动端(app+小程序),便于二次开发
- 用户登录
- 域名导入,导出功能
- 登录优化
- 域名搜索
- 修改密码
- 用户管理
- 调度历史
前端选型(网页版)
- Node.js
- Vite.js
- Vue3.js
- Vue Router
- Pinia
- Element Plus
- Tailwind CSS
前端选型(桌面版)
- node.js v16.15.1
- vue3.js
- quasar + electron
后端选型
- Python3.7.0
- Flask https://flask.palletsprojects.com/en/2.2.x/
- jinja2 https://jinja.palletsprojects.com/en/3.1.x/
- peewee(sqlite) http://docs.peewee-orm.com/en/latest/index.html#
- apscheduler https://apscheduler.readthedocs.io/en/3.x/
- supervisord http://supervisord.org/index.html
- gunicorn https://docs.gunicorn.org/
二次开发
接口文档:/doc/index.md
git clone https://github.com/mouday/domain-admin.git
# 安装依赖
pip install -r requirements.txt
# 启动开发服务
make dev
默认的管理员账号:admin 密码:123456
注意:后端服务依赖
curl
代码推送
# github
git push -u origin master
# gitee
git push -u gitee master
配置文件
可以在运行目录添加配置文件 .env
支持的参数
FLASK_APP=domain_admin/app.py
FLASK_ENV=development
FLASK_DEBUG=1
FLASK_RUN_HOST = '127.0.0.1'
FLASK_RUN_PORT = '5000'
问题
1、暂不支持多进程方式启动
使用 master + 多worker 方式启动应用,会启动多个定时任务Scheduler,导致多次执行任务
如果小规模使用,启动一个进程即可
如果是需要支持并发访问,可自行改进应用
将定时器独立出来,单独一个进程控制,行成 scheduler + Flask(master + 多worker)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
domain-admin-0.0.4.tar.gz
(803.0 kB
view details)
Built Distribution
domain_admin-0.0.4-py3-none-any.whl
(831.4 kB
view details)
File details
Details for the file domain-admin-0.0.4.tar.gz
.
File metadata
- Download URL: domain-admin-0.0.4.tar.gz
- Upload date:
- Size: 803.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce182026333933a93f58f06f2b244e545767281b483203f5612885561cac08ef |
|
MD5 | 7f0f815febf891a64ff7ee1274e54197 |
|
BLAKE2b-256 | 53b758a3812f80c7d798585723a63059b88a249f7b2552523a1a6e30d6aa0337 |
File details
Details for the file domain_admin-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: domain_admin-0.0.4-py3-none-any.whl
- Upload date:
- Size: 831.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1bd1a79ab84835de70e1dd20ff56d59cfa4a446dbaafe33763c810a79a995d7 |
|
MD5 | ed7853e718cb02321e233687f74df7cc |
|
BLAKE2b-256 | 42f94772f7141445ae85290376fa4dbf71eb0e575d8057622d4eae24b96ee509 |