All Projects → NaNShaner → Repoll

NaNShaner / Repoll

Licence: apache-2.0
Redis管理平台Repoll,现已开源,基于redis3.x,支持单机、哨兵以及集群模式

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Repoll

Django Business Logic
Visual DSL framework for django
Stars: ✭ 134 (-31.63%)
Mutual labels:  django, django-admin
Visual Chatbot
☁️ 👀 💬 Visual Chatbot
Stars: ✭ 161 (-17.86%)
Mutual labels:  redis, django
Django School Management
Deployment Ready Developer to Developer Full-stack School Management System with payments, e-admission, result management, academic functionalities, and much more implemented in a simple way.
Stars: ✭ 151 (-22.96%)
Mutual labels:  redis, django
Django Bruteforce Protection
Bruteforce protection for Django projects based on Redis. Simple, powerful, extendable.
Stars: ✭ 110 (-43.88%)
Mutual labels:  redis, django
Django Inline Actions
django-inline-actions adds actions to each row of the ModelAdmin or InlineModelAdmin.
Stars: ✭ 170 (-13.27%)
Mutual labels:  django, django-admin
Django Subadmin
A special kind of ModelAdmin that allows it to be nested within another ModelAdmin
Stars: ✭ 120 (-38.78%)
Mutual labels:  django, django-admin
Django Polymorphic Tree
Polymorphic MPTT tree support for models
Stars: ✭ 152 (-22.45%)
Mutual labels:  django, django-admin
Playlistor
🎶Apple Music ↔️ Spotify playlist convertor.
Stars: ✭ 95 (-51.53%)
Mutual labels:  redis, django
Django Admin Autocomplete Filter
A simple Django app to render list filters in django admin using autocomplete widget.
Stars: ✭ 166 (-15.31%)
Mutual labels:  django, django-admin
Django instagram
Photo sharing social media site built with Python/Django. Based on Instagram's design.
Stars: ✭ 165 (-15.82%)
Mutual labels:  redis, django
Banking System
A banking System Created Using Django Python Web Framework
Stars: ✭ 105 (-46.43%)
Mutual labels:  redis, django
Dailyfresh B2c
dailyfresh mall based on B2C model
Stars: ✭ 177 (-9.69%)
Mutual labels:  redis, django
Django Fluent Pages
A flexible, scalable CMS with custom node types, and flexible block content.
Stars: ✭ 103 (-47.45%)
Mutual labels:  django, django-admin
Dailyfresh
Django-天天生鲜电商学习项目
Stars: ✭ 127 (-35.2%)
Mutual labels:  redis, django
Django Rq
A simple app that provides django integration for RQ (Redis Queue)
Stars: ✭ 1,361 (+594.39%)
Mutual labels:  redis, django
Pychat
webchat via WebSockets/WebRTC that allows messaging/video call/screen sharing
Stars: ✭ 152 (-22.45%)
Mutual labels:  redis, django
Docker Django Example
A production ready example Django app that's using Docker and Docker Compose.
Stars: ✭ 86 (-56.12%)
Mutual labels:  redis, django
Django Redis Metrics
Metrics for django apps backed by Redis.
Stars: ✭ 93 (-52.55%)
Mutual labels:  redis, django
Django Material Admin
Material design for django administration
Stars: ✭ 163 (-16.84%)
Mutual labels:  django, django-admin
Django Antd Tyadmin
类似 xadmin 的基于Model 快速生成前后台管理增删改查,筛选,搜索的后台管理自动化工具。Antd 界面好看现代化!前后端分离!无损二次开发!由Django Restful Framework 和 Ant Design Pro V4 驱动
Stars: ✭ 171 (-12.76%)
Mutual labels:  django, django-admin

ice Django CI

repoll

使用django框架编写的redis的管理平台,项目wiki Anurag's github stats

项目简介

主要功能(当前功能)

  • Redis的申请、审批、配置上线
  • Redis的监控、启动以及停止操作平台化管理
  • 权限管理依赖django 框架 image

环境依赖

  • 操作系统
Ubuntu 18.04
  • 安装依赖
apt install python3-pip
apt-get install libmysqlclient-dev python3-dev
# yum install mysql-devel python3-devel 
pip3 install -r requirements.txt

配置Django

  • 下载项目
make /django # 目录可以自定义
cd /django ; git clone https://github.com/NaNShaner/repoll.git
  • 配置数据库链接
vi /django/repoll/mysite/settings.py
# 修改下文mysql的ip、port、库名、用户名以及密码
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'django',
        'USER': 'root',
        'PASSWORD': '[email protected]',
        'HOST': '127.0.0.1',
        'PORT': '32768',
    }
}
  • 初始化数据库
python3 manage.py makemigrations
python3 manage.py migrate
  • 执行以下命令完成simpleui的静态资源离线可访问
cd /django/repoll
python3 manage.py  collectstatic
  • 创建管理员用户
python3 manage.py createsuperuser #用户名密码,自定义
  • 如需对接ldap请根据setting注释根据实际情况修改配置

启动项目

  • 开启redis的qps监控执行以下命令
cd /django/repoll
python3 manage.py crontab add
  • 启动repoll
cd /django/repoll
python3 manage.py runserver 127.0.0.1:8000 # 这里的IP换成本机服务器IP,端口自定义

访问项目地址

http://127.0.0.1:8000/admin

初始化redis各模式的配置

python3 manage.py loaddata /django/repoll/init_data.json

初始化redis资源池服务器

  • 在平台内点击资源池服务器列表,点击增加输入相关字段即可 image
  • 特别注意!!! 所有资源池中的服务器,安装redis必须使用平台提供的脚本完成安装,命令如下:
sh repoll-init.sh repoll # 密码自定义

标准化申请流程

  • 分配普通用户权限(dev或者ops角色)
  • 领导层进行审批(boss角色)
  • 管理员(dba角色)进行配置上线

demo演示

http://repoll.club:8091/ admin/admin

Todo list

  • [x] 支持哨兵模式和集群模式
  • [x] 监控独立展示,包括qps、内存使用率、客户端链接以及慢查询等
  • [x] 支持在线扩缩容的申请、审批、配置生效流程
  • [x] 支持导入已存在的redis实例
  • [ ] 支持web console,在线执行redis命令
  • [ ] 支持容器化部署
  • [ ] 支持Redis实例容器化部署

声明

该项目将长期维护,期望有对redis有平台化管理的朋友加入一起维护。 如果您觉得该项目对您有所帮助,欢迎star

致谢

开发工具由Jetbrains赞助的Pycharm

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].