From ee00940baf6ce6ce6586a29f6c57f1800db3dcbc Mon Sep 17 00:00:00 2001 From: hequan Date: Wed, 22 Aug 2018 17:06:21 +0800 Subject: [PATCH] =?UTF-8?q?0.3=20=20=E6=9C=80=E5=90=8E=E7=BB=88=E7=BB=93?= =?UTF-8?q?=E7=89=88=E6=9C=AC=EF=BC=88=E5=81=9C=E6=AD=A2=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.3 最后终结版本(停止更新) --- README.md | 19 +++++++++++++++---- requirements.txt | 6 ------ templates/_navbar-static-top.html | 7 +------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8d2ba33..92ed44d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## 链喵 CMDB ![DEMO](static/demo/LOGO.png) -重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。 2018-6-1 +重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。 项目中文名:链喵 @@ -91,12 +91,23 @@ web_port = 8002 ``` ```bash + + + mkdir /etc/ansible/ cd chain/ -python3 -m pip install --upgrade pip -yum install sshpass bzip2 redis -y + +yum install sshpass bzip2 redis wget -y systemctl start redis + +cd /tmp/ +wget https://files.pythonhosted.org/packages/12/2a/e9e4fb2e6b2f7a75577e0614926819a472934b0b85f205ba5d5d2add54d0/Twisted-18.4.0.tar.bz2 +tar xf Twisted-18.4.0.tar.bz2 +cd Twisted-18.4.0 +python3 setup.py install + + pip3 install -r requirements.txt ``` @@ -108,7 +119,7 @@ python3 manage.py migrate python manage.py shell from name.models import Names -user=Names.objects.create_superuser('admin','hequan@chain.com','1qaz.2wsx') +user=Names.objects.create_superuser('admin','hequan@test.com','1qaz.2wsx') exit() python3 manage.py runserver 0.0.0.0:80 diff --git a/requirements.txt b/requirements.txt index e898ea1..117d8ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,5 @@ aadict==0.2.3 aioredis==1.0.0 -aliyun-python-sdk-core-v3==2.8.6 -aliyun-python-sdk-ecs==4.8.0 amqp==2.3.2 ansible==2.6.3 anyjson==0.3.3 @@ -50,8 +48,6 @@ hyperlink==18.0.0 idna==2.6 incremental==17.5.0 Interactive==1.0.1 -ipython==6.3.1 -ipython-genutils==0.2.0 javascripthon==0.10 jedi==0.12.0 Jinja2==2.10 @@ -81,12 +77,10 @@ PyNaCl==1.2.1 python-dateutil==2.7.2 pytz==2018.4 PyYAML==3.12 -redis==2.10.6 simplegeneric==0.8.1 six==1.11.0 tornado==5.0.2 traitlets==4.3.2 -Twisted==18.4.0 txaio==2.10.0 tzlocal==1.5.1 vine==1.1.4 diff --git a/templates/_navbar-static-top.html b/templates/_navbar-static-top.html index 1f225c3..e4fa51e 100644 --- a/templates/_navbar-static-top.html +++ b/templates/_navbar-static-top.html @@ -2,14 +2,9 @@