Giter Club home page Giter Club logo

django-oms's Introduction

oms运维管理系统

python3.x django django-rest-framework celery vue element-ui

注意:该项目是采用的前后端分离开发,是在python3.6下面开发的,因为是使用的django-rest-framework,理论也支持python2.7x;由于前端使用的是vuejs,所以不支持低版本ie游览器。

本项目集成工单系统、发布系统、dns和zabbix管理、saltstack管理。

文档查看

线上demo

用户名:admin
密码: 有人喜欢删admin用户,具体长什么样子看文档吧

项目实践

1. 克隆项目

git clone https://github.com/itimor/django-oms.git

2. 后端

# 安装python依赖
cd omsBackend
pip install -r requirements.txt

# 生成数据库文件
# 把每个模块 makemigrations
python manage.py makemigrations 模块名

#初始化数据库
python manage.py migrate

#创建admin用户
python manage.py createsuperuser 

#启动
python manage.py runserver 0.0.0.0:8000

3. 前端

# 安装依赖
npm install
#或者
npm install --registry=https://registry.npm.taobao.org

# 本地开发 开启服务
npm run dev

# 打包
npm run build

项目后续功能

  • 周报系统

每周结束之前在oms系统上发布周报,方便领导统计、查看。

  • 继续想新功能

本地查看文档

mkdocs serve --dev-addr=0.0.0.0:5000
mkdocs build
mkdocs gh-deploy

django-oms's People

Contributors

itimor avatar

Watchers

曹芷健 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.