Skip to content

Commit ee00940

Browse files
author
hequan
committedAug 22, 2018
0.3 最后终结版本(停止更新)
0.3 最后终结版本(停止更新)
1 parent c0591c9 commit ee00940

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed
 

‎README.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 链喵 CMDB
22
![DEMO](static/demo/LOGO.png)
33

4-
重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。 2018-6-1
4+
重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。
55

66

77
项目中文名:链喵
@@ -91,12 +91,23 @@ web_port = 8002
9191
```
9292

9393
```bash
94+
95+
96+
9497
mkdir /etc/ansible/
9598
cd chain/
9699

97-
python3 -m pip install --upgrade pip
98-
yum install sshpass bzip2 redis -y
100+
101+
yum install sshpass bzip2 redis wget -y
99102
systemctl start redis
103+
104+
cd /tmp/
105+
wget https://files.pythonhosted.org/packages/12/2a/e9e4fb2e6b2f7a75577e0614926819a472934b0b85f205ba5d5d2add54d0/Twisted-18.4.0.tar.bz2
106+
tar xf Twisted-18.4.0.tar.bz2
107+
cd Twisted-18.4.0
108+
python3 setup.py install
109+
110+
100111
pip3 install -r requirements.txt
101112

102113
```
@@ -108,7 +119,7 @@ python3 manage.py migrate
108119

109120
python manage.py shell
110121
from name.models import Names
111-
user=Names.objects.create_superuser('admin','hequan@chain.com','1qaz.2wsx')
122+
user=Names.objects.create_superuser('admin','hequan@test.com','1qaz.2wsx')
112123
exit()
113124

114125
python3 manage.py runserver 0.0.0.0:80

‎requirements.txt

-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
aadict==0.2.3
22
aioredis==1.0.0
3-
aliyun-python-sdk-core-v3==2.8.6
4-
aliyun-python-sdk-ecs==4.8.0
53
amqp==2.3.2
64
ansible==2.6.3
75
anyjson==0.3.3
@@ -50,8 +48,6 @@ hyperlink==18.0.0
5048
idna==2.6
5149
incremental==17.5.0
5250
Interactive==1.0.1
53-
ipython==6.3.1
54-
ipython-genutils==0.2.0
5551
javascripthon==0.10
5652
jedi==0.12.0
5753
Jinja2==2.10
@@ -81,12 +77,10 @@ PyNaCl==1.2.1
8177
python-dateutil==2.7.2
8278
pytz==2018.4
8379
PyYAML==3.12
84-
redis==2.10.6
8580
simplegeneric==0.8.1
8681
six==1.11.0
8782
tornado==5.0.2
8883
traitlets==4.3.2
89-
Twisted==18.4.0
9084
txaio==2.10.0
9185
tzlocal==1.5.1
9286
vine==1.1.4

‎templates/_navbar-static-top.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22
<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
33
<div class="navbar-header">
44
<a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
5-
{# <form role="search" class="navbar-form-custom" method="post" action="#">#}
6-
{# <div class="form-group">#}
7-
{# <input type="text" placeholder="请输入搜索内容" class="form-control" name="top-search" id="top-search">#}
8-
{# </div>#}
9-
{# </form>#}
105
</div>
116
<ul class="nav navbar-top-links navbar-right">
12-
欢迎 {{ user }} 使用 Chainup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
7+
欢迎 {{ user }} 使用 链喵 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
138
<li>
149
<a href="/logout.html">
1510
<i class="fa fa-sign-out"></i> 注销

0 commit comments

Comments
 (0)
Please sign in to comment.