Skip to content

Commit

Permalink
0.3 最后终结版本(停止更新)
Browse files Browse the repository at this point in the history
0.3  最后终结版本(停止更新)
  • Loading branch information
hequan committed Aug 22, 2018
1 parent c0591c9 commit ee00940
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## 链喵 CMDB
![DEMO](static/demo/LOGO.png)

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


项目中文名:链喵
Expand Down Expand Up @@ -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

```
Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions templates/_navbar-static-top.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
{# <form role="search" class="navbar-form-custom" method="post" action="#">#}
{# <div class="form-group">#}
{# <input type="text" placeholder="请输入搜索内容" class="form-control" name="top-search" id="top-search">#}
{# </div>#}
{# </form>#}
</div>
<ul class="nav navbar-top-links navbar-right">
欢迎 {{ user }} 使用 Chainup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
欢迎 {{ user }} 使用 链喵 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<li>
<a href="/logout.html">
<i class="fa fa-sign-out"></i> 注销
Expand Down

0 comments on commit ee00940

Please sign in to comment.