Skip to main content

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'

项目简介

项目截图

网页版:

桌面端:

功能:

  • 域名证书信息查询
  • 监控域名证书信息,到期提醒
  • api接口 浏览器 桌面 移动端(app+小程序),便于二次开发
  • 用户登录
  • 域名导入,导出功能
  • 登录优化
  • 域名搜索
  • 修改密码
  • 用户管理
  • 调度历史

前端选型(网页版)

  • Node.js
  • Vite.js
  • Vue3.js
  • Vue Router
  • Pinia
  • Element Plus
  • Tailwind CSS

前端选型(桌面版)

  • node.js v16.15.1
  • vue3.js
  • quasar + electron

后端选型

二次开发

接口文档:/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

This version

0.0.4

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 hashes)

Uploaded Source

Built Distribution

domain_admin-0.0.4-py3-none-any.whl (831.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page