Commit ee00940 hequan
committed Aug 22, 2018
1 parent c0591c9 commit ee00940 Copy full SHA for ee00940
File tree 3 files changed +16
-16
lines changed
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
## 链喵 CMDB
2
2
![ DEMO] ( static/demo/LOGO.png )
3
3
4
- 重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。 2018-6-1
4
+ 重要通知:因本人工作原因,本项目就此完结。之后不提供更新和维护。
5
5
6
6
7
7
项目中文名:链喵
@@ -91,12 +91,23 @@ web_port = 8002
91
91
```
92
92
93
93
``` bash
94
+
95
+
96
+
94
97
mkdir /etc/ansible/
95
98
cd chain/
96
99
97
- python3 -m pip install --upgrade pip
98
- yum install sshpass bzip2 redis -y
100
+
101
+ yum install sshpass bzip2 redis wget -y
99
102
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
+
100
111
pip3 install -r requirements.txt
101
112
102
113
```
@@ -108,7 +119,7 @@ python3 manage.py migrate
108
119
109
120
python manage.py shell
110
121
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' )
112
123
exit ()
113
124
114
125
python3 manage.py runserver 0.0.0.0:80
Original file line number Diff line number Diff line change 1
1
aadict == 0.2.3
2
2
aioredis == 1.0.0
3
- aliyun-python-sdk-core-v3 == 2.8.6
4
- aliyun-python-sdk-ecs == 4.8.0
5
3
amqp == 2.3.2
6
4
ansible == 2.6.3
7
5
anyjson == 0.3.3
@@ -50,8 +48,6 @@ hyperlink==18.0.0
50
48
idna == 2.6
51
49
incremental == 17.5.0
52
50
Interactive == 1.0.1
53
- ipython == 6.3.1
54
- ipython-genutils == 0.2.0
55
51
javascripthon == 0.10
56
52
jedi == 0.12.0
57
53
Jinja2 == 2.10
@@ -81,12 +77,10 @@ PyNaCl==1.2.1
81
77
python-dateutil == 2.7.2
82
78
pytz == 2018.4
83
79
PyYAML == 3.12
84
- redis == 2.10.6
85
80
simplegeneric == 0.8.1
86
81
six == 1.11.0
87
82
tornado == 5.0.2
88
83
traitlets == 4.3.2
89
- Twisted == 18.4.0
90
84
txaio == 2.10.0
91
85
tzlocal == 1.5.1
92
86
vine == 1.1.4
Original file line number Diff line number Diff line change 2
2
< nav class ="navbar navbar-static-top " role ="navigation " style ="margin-bottom: 0 ">
3
3
< div class ="navbar-header ">
4
4
< 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 > #}
10
5
</ div >
11
6
< ul class ="nav navbar-top-links navbar-right ">
12
- 欢迎 {{ user }} 使用 Chainup
7
+ 欢迎 {{ user }} 使用 链喵
13
8
< li >
14
9
< a href ="/logout.html ">
15
10
< i class ="fa fa-sign-out "> </ i > 注销
You can’t perform that action at this time.
0 commit comments