-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (146 loc) · 8.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="zh-cn">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>发布系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Canonical links -->
<link rel="canonical" href="http://127.0.0.1:4000/index.html">
<!-- Alternative links -->
<link rel="alternative" hreflang="zh-cn" href="http://127.0.0.1:4000/zh-cn/index.html">
<!-- Icon -->
<link rel="apple-touch-icon" sizes="57x57" href="/icon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/icon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/icon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/icon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="/icon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="/icon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="/icon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="/icon/apple-touch-icon-152x152.png">
<link rel="icon" type="image/png" href="/icon/favicon-196x196.png" sizes="196x196">
<link rel="icon" type="image/png" href="/icon/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="/icon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/icon/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/icon/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#2f83cd">
<meta name="msapplication-TileImage" content="/icon/mstile-144x144.png">
<meta name="generator" content="Hexo 3.7.1">
<!-- CSS -->
<!-- build:css build/css/navy.css -->
<link rel="stylesheet" href="/css/navy.css">
<!-- endbuild -->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../../source/css/font-awesome.min.css">
<link rel="stylesheet" href="#">
<!-- RSS -->
<link rel="alternate" href="/atom.xml" title="发布系统">
<!-- Open Graph -->
<meta name="description" content="发布系统说明文档">
<meta property="og:type" content="website">
<meta property="og:title" content="发布系统">
<meta property="og:url" content="http://127.0.0.1:4000/index.html">
<meta property="og:site_name" content="发布系统">
<meta property="og:description" content="发布系统说明文档">
<meta property="og:locale" content="zh-cn">
<meta property="og:updated_time" content="2018-08-03T03:22:22.580Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="发布系统">
<meta name="twitter:description" content="发布系统说明文档">
<!-- Google Analytics -->
</head>
<body>
<div id="container">
<header id="header" class="wrapper">
<div id="header-inner" class="inner">
<h1 id="logo-wrap">
<a href="/zh-cn/" id="logo">Hexo</a>
</h1>
<nav id="main-nav">
<a href="/zh-cn/docs/" class="main-nav-link">安装文档</a><a href="/zh-cn/api/" class="main-nav-link">API文档</a><a href="/operate_docs/" class="main-nav-link">操作</a><a href="/plugins/" class="main-nav-link">函数说明</a><a href="/themes/" class="main-nav-link">架构说明</a><a href="/news/" class="main-nav-link">操作说明</a>
</nav>
<div id="lang-select-wrap">
<label id="lang-select-label"><i class="fa fa-globe"></i><span>简体中文</span></label>
<select id="lang-select" data-canonical="">
<option value="zh-cn" selected>简体中文</option>
</select>
</div>
<a id="mobile-nav-toggle">
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
</a>
</div>
</header>
<header id="banner" class="wrapper">
<div class="inner">
<h2 id="banner-title">自动发布系统说明文档</h2>
<div id="banner-start">
<span id="banner-start-command">进入文档阅读</span><a id="banner-start-link" href="docs/"><i class="fa fa-arrow-right"></i></a>
</div>
<div id="banner-share"></div>
</div>
</header>
<div id="content-wrap">
<div class="wrapper">
<div class="inner">
<ul id="intro-feature-list"><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="fa fa-bolt"></i></div><h3 class="intro-feature-title">自动发布系统</h3><p class="intro-feature-desc">发布系统-实现了开发环境、测试环境、生产环境的发布。开发合并代码时,自动触发开发环境的应用发布。合并到测试分支时自动构建后等待发布。</p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="fa fa-pencil"></i></div><h3 class="intro-feature-title">资产管理系统</h3><p class="intro-feature-desc">资产管理-整合了主机列表、资源池、应用列表、机房管理等功能。与发布系统实现联动。发布系统的发布资源都是从资产管理系统中调用使用。</p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="fa fa-cloud-upload"></i></div><h3 class="intro-feature-title">后台管理系统</h3><p class="intro-feature-desc">后台管理-用户、部门、角色管理</p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="fa fa-cog"></i></div><h3 class="intro-feature-title">架构说明</h3><p class="intro-feature-desc">讲解整体发布系统的架构体系</p></div></li></ul>
<ul id="intro-cmd-wrap">
<li class="intro-cmd-item"># 安装环境</li>
<li class="intro-cmd-item">pip install -r requirements.txt</li>
<li class="intro-cmd-item"># 生成数据库</li>
<li class="intro-cmd-item">python manage.py makemigrations </li>
<li class="intro-cmd-item">python manage.py migrate</li>
<li class="intro-cmd-item"># 多库关联时,生成指定数据库表</li>
<li class="intro-cmd-item">python manage.py migrate --database=数据库名</li>
<li class="intro-cmd-item"># 初始化环境</li>
<li class="intro-cmd-item">python manage.py initialize_premission</li>
<li class="intro-cmd-item"># 启动测试django</li>
<li class="intro-cmd-item">python manage.py runserver 0.0.0.0:8000</li>
</ul>
<div id="intro-get-started-wrap">
<a href="/zh-cn/docs/" id="intro-get-started-link">开始使用</a>
</div>
</div>
</div>
</div>
<footer id="footer" class="wrapper">
<div class="inner">
<div id="footer-copyright">
© 2019 <a href="#" target="_blank">李国征</a><br>
Documentation licensed under <a href="#" target="_blank">CC BY 4.0</a>.
</div>
<div id="footer-links">
<a href="http://127.0.0.1:4000/" class="footer-link" target="_blank"><i class="fa fa-github-alt"></i></a>
</div>
</div>
</footer>
</div>
<div id="mobile-nav-dimmer"></div>
<nav id="mobile-nav">
<div id="mobile-nav-inner">
<ul id="mobile-nav-list">
<a href="/zh-cn/docs/" class="mobile-nav-link">安装文档</a><a href="/zh-cn/api/" class="mobile-nav-link">API文档</a><a href="/operate_docs/" class="mobile-nav-link">操作</a><a href="/plugins/" class="mobile-nav-link">函数说明</a><a href="/themes/" class="mobile-nav-link">架构说明</a><a href="/news/" class="mobile-nav-link">操作说明</a>
<li class="mobile-nav-item">
<a href="https://11github.com/" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
</li>
</ul>
</div>
<div id="mobile-lang-select-wrap">
<span id="mobile-lang-select-label"><i class="fa fa-globe"></i><span>简体中文</span></span>
<select id="mobile-lang-select" data-canonical="">
<option value="zh-cn" selected>简体中文</option>
</select>
</div>
</nav>
<!-- Scripts -->
<!-- Cookie -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.min.js"></script>
<!-- build:js build/js/main.js -->
<script src="/js/lang_select.js"></script>
<script src="/js/toc.js"></script>
<script src="/js/mobile_nav.js"></script>
<!-- endbuild -->
<!-- Algolia -->
</body>
</html>