# xops **Repository Path**: dadba/xops ## Basic Information - **Project Name**: xops - **Description**: 资产管理 资管平台自动生成机柜图 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 10 - **Created**: 2021-10-06 - **Last Updated**: 2021-10-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xops ## 功能 - 资产管理 资管平台 重写:https://github.com/richardzgt/AssetMP ### QQ交流群 ![qq](doc/img/qq.png) ## 环境 ![Python](https://img.shields.io/badge/python-3.7.0-blue.svg?style=plastic) ![django](https://img.shields.io/badge/django-2.1.7-blue.svg?style=plastic) ![AdminLTE](https://img.shields.io/badge/AdminLTE-2.4.5-brightgreen.svg?style=plastic) ## 效果图 ![assets](doc/img/assets.jpg) ![detail](doc/img/detail.jpg) ![rack](doc/img/rack.jpg) ![back](doc/img/back.jpg) ![domian](doc/img/domian.png) ## 部署基础环境 ``` cd xops echo env_django > .gitignore python3 -m venv env_django source env_django/bin/activate #载入py环境 pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com -r requirements.txt # 安装requirements.txt ``` 初始化启动服务 ``` python manage.py makemigrations #为改动models创建迁移记录 python manage.py migrate #同步数据库 python manage.py createsuperuser #建立后台管理员帐号 python manage.py runserver #启动服务 ``` ### 调试 python manage.py shell ``` from assets.models import * [ i.hostname for i in Asset.objects.all()] Area.objects.filter(needed_cabinet=True).exists() ``` ## 图标 https://fontawesome.com/icons?d=gallery&q=fa-list ~~### 测试地址~~ ~~暂无~~ ### 赞赏 如果本项目对您有所帮助,可以通过下列方式进行捐赠,感谢! ![pay](doc/img/pay.jpg)