mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-01 01:32:59 +08:00
deploy
This commit is contained in:
@@ -3414,7 +3414,7 @@
|
||||
<li>刷新仓库网页,点击“Create pull request”按钮即可发起拉取请求。</li>
|
||||
</ol>
|
||||
<h2 id="1623-docker">16.2.3. Docker 部署<a class="headerlink" href="#1623-docker" title="Permanent link">¶</a></h2>
|
||||
<p>我们可以通过 Docker 来部署本项目。执行以下脚本,稍等片刻后,即可使用浏览器打开 <code>http://localhost:8000</code> 来访问本项目。</p>
|
||||
<p>执行以下 Docker 脚本,稍等片刻,即可在网页 <code>http://localhost:8000</code> 访问本项目。</p>
|
||||
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/krahets/hello-algo.git
|
||||
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="nb">cd</span><span class="w"> </span>hello-algo
|
||||
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>docker-compose<span class="w"> </span>up<span class="w"> </span>-d
|
||||
|
||||
Reference in New Issue
Block a user