Skip to content

Dionysusio/fms

 
 

Repository files navigation

FMS(Fault Management System: 运维故障管理系统)

Build Status Python Version Django Version

FMS现有功能:

  • 故障管理
  • 用户管理
  • 邮件管理
  • 统计Dashboard

部署

安装依赖

pip3 install -i https://pypi.douban.com/simple/  -r requirements.txt

修改配置

MySQL配置修改settings.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'fms',
        'USER': 'root',
        'PASSWORD': 'xxxx',
        'HOST': '127.0.0.1',
        'PORT': '3306',
    }
}

修改故障通知邮箱settings.py:

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = False
EMAIL_HOST = 'service.simlinux.com'
EMAIL_PORT = 25
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'xxx'
DEFAULT_FROM_EMAIL = 'geekwolf <[email protected]>'

初始化数据

python manage.py makemigrations
python manage.py migrate
python manage.py loaddata default_types
python manage.py loaddata default_user

登录

python manage.py runserver
http://127.0.0.1:8000
admin admin

交流

微信

QQ群1: 541071512

fms fms fms fms fms

About

运维故障管理系统

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.5%
  • CSS 2.5%