GithubHelp home page GithubHelp logo

iwordz / it_asset Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 10.0 1.38 MB

一款以Python Django框架实现的基础IT资产管理系统。

License: Apache License 2.0

Python 97.21% PLpgSQL 2.73% Shell 0.06%

it_asset's Introduction

注意:本系统属于测试项目,不适合生产环境

IT资产管理系统使用说明

1.本系统需要使用Python Django、Python MySQL-db、Bootstrap3、Jquery等模块支持

2.支持原生Django部署且同时也支持Nginx+Wsgi方式部署

3.模块安装:

git clone https://github.com/iwordz/it_asset

cd it_asset

导入 it_asset.sql mysql数据库文件

下面开始安装Django类库:

pip install django==1.7

pip install MySQL-Python(如果执行上面命令出现找不到"EnvironmentError: mysql_config not found"等字样,则需要执行export PATH=$PATH: /path/mysql/bin 注意path是你mysql安装的实际目录。)

4.本系统已经在Mac OSX和Centos上进行过测试

5.部分功能界面预览

5.1仪表盘功能

image

5.2机柜分布图

image

5.3配置项管理

image

5.4用户管理

image

6.正式发布

打开setting.py设置如下参数: DEBUG=False ALLOWED_HOSTS = ["*"]

7.本系统部分使用了开源系统,如有侵犯您的版本,请联系我删除,谢谢合作!

8.本系统仅仅是一个实验性的演示系统,不作为正式环境产品。感谢您的参与。如果在测试过程中遇到任何问题,请与我联系。(email:[email protected]

it_asset's People

Contributors

idczuojun avatar iwordz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

it_asset's Issues

关于工程配置有点问题,希望能帮忙联系解决~

环境是win10 + python 3.7,采用命令行运行,报错:
Unhandled exception in thread started by <function check_errors..wrapper at 0x0000026C4688EBF8>
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 248, in raise_last_exception
raise exception[1]
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management_init
.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\registry.py", line 112, in populate
app_config.import_models()
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\mrcra\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\auth\models.py", line 94, in
class Group(models.Model):
File "C:\Users\mrcra\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\models\base.py", line 139, in new
new_class.add_to_class(obj_name, obj)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\models\base.py", line 305, in add_to_class
value.contribute_to_class(cls, name)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\models\fields\related.py", line 1583, in contribute_to_class
self.remote_field.through = create_many_to_many_intermediary_model(self, cls)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\models\fields\related.py", line 1051, in create_many_to_many_intermediary_model
'verbose_name': ('%(from)s-%(to)s relationship') % {'from': from, 'to': to},
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\functional.py", line 149, in mod
return str(self) % rhs
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\functional.py", line 113, in __text_cast
return func(*self.__args, **self._kw)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\translation_init
.py", line 75, in gettext
return _trans.gettext(message)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\translation\trans_real.py", line 286, in gettext
_default = _default or translation(settings.LANGUAGE_CODE)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\translation\trans_real.py", line 199, in translation
_translations[language] = DjangoTranslation(language)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\translation\trans_real.py", line 102, in init
raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
OSError: No translation files found for default language zh-ch.

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.