mirror of
https://github.com/caprover/caprover
synced 2026-09-24 23:55:36 +00:00
@@ -10,7 +10,7 @@ Regardless of your deployment method, make sure that you have a 'captain-definit
|
||||
<p>Simply run <code>captainduckduck deploy</code> in your git repo and follow the steps. This is the best method as it's the only method that reports potential build failures to you. Read more about it here:
|
||||
<a href="/docs/get-started.html#step-4-deploy-the-test-app">Get Started - Step 4</a>.</p>
|
||||
<h2><a class="anchor" aria-hidden="true" id="deploy-via-web-dashboard"></a><a href="#deploy-via-web-dashboard" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Deploy via Web Dashboard</h2>
|
||||
<p>Zip the content of your project into a tarball (<code>.tar</code>), go to your Captain web dashboard and upload the tar file.</p>
|
||||
<p>Zip the content of your project into a tarball (<code>.tar</code>), go to your Captain web dashboard and upload the tar file. This deployment method is typically used for testing purposes only.</p>
|
||||
<h2><a class="anchor" aria-hidden="true" id="deploy-using-github-bitbucket-and-etc"></a><a href="#deploy-using-github-bitbucket-and-etc" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Deploy using Github, Bitbucket and etc.</h2>
|
||||
<p>This method is perhaps the most convinient one. This method automatically triggers a build when you push your repo to a specific branch (like <code>master</code> or <code>staging</code> or etc). To setup this, go to your apps settings and enter the repo information:</p>
|
||||
<ul>
|
||||
@@ -29,7 +29,9 @@ Secret: <Leave empty>, Just the <code>push</code> event.</li>
|
||||
<ul>
|
||||
<li>Project > Settings > Webhooks > Add Webhook > Title: Captain Server, URL: Captain Webhook from your apps page.</li>
|
||||
</ul>
|
||||
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="captain-definition-file.html">← Captain Definition File</a><a class="docs-next button" href="app-configuration.html">App Configuration →</a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#deploy-via-cli">Deploy via CLI</a></li><li><a href="#deploy-via-web-dashboard">Deploy via Web Dashboard</a></li><li><a href="#deploy-using-github-bitbucket-and-etc">Deploy using Github, Bitbucket and etc.</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/captainduckduck.png" alt="CaptainDuckDuck" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/get-started.html">Getting Started</a></div><div><h5>Community</h5><a href="https://twitter.com/search?vertical=default&q=captainduckduck&src=typd" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://github.com/githubsaturn/captainduckduck" target="_blank">GitHub</a><a class="github-button" href="https://github.com/githubsaturn/captainduckduck" data-icon="octicon-star" data-count-href="/githubsaturn/captainduckduck/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2018 githubsaturn</section><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-121064489-1"></script><script>
|
||||
<h3><a class="anchor" aria-hidden="true" id="note-git-submodules"></a><a href="#note-git-submodules" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Note: git submodules</h3>
|
||||
<p>Sometimes git repositories contain git submodules. If these submodules are necessary for your application to be built, you need to know that currently they are being supported by CLI, however, the support for WebHooks will be available starting version 0.8.0.</p>
|
||||
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="captain-definition-file.html">← Captain Definition File</a><a class="docs-next button" href="app-configuration.html">App Configuration →</a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#deploy-via-cli">Deploy via CLI</a></li><li><a href="#deploy-via-web-dashboard">Deploy via Web Dashboard</a></li><li><a href="#deploy-using-github-bitbucket-and-etc">Deploy using Github, Bitbucket and etc.</a><ul class="toc-headings"><li><a href="#note-git-submodules">Note: git submodules</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/captainduckduck.png" alt="CaptainDuckDuck" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/get-started.html">Getting Started</a></div><div><h5>Community</h5><a href="https://twitter.com/search?vertical=default&q=captainduckduck&src=typd" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://github.com/githubsaturn/captainduckduck" target="_blank">GitHub</a><a class="github-button" href="https://github.com/githubsaturn/captainduckduck" data-icon="octicon-star" data-count-href="/githubsaturn/captainduckduck/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2018 githubsaturn</section><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-121064489-1"></script><script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@
|
||||
</span></div></h2><div><span><p>Attach more nodes and create a cluster in seconds! Captain automatically configures nginx to load balance.</p>
|
||||
</span></div></div></div><div class="blockElement alignCenter fourByGridBlock"><div class="blockContent"><h2><div><span><p>Increase Productivity</p>
|
||||
</span></div></h2><div><span><p>Focus on your apps! Not the bells and whistles just to run your apps!</p>
|
||||
</span></div></div></div></div></div></div></div><div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>CaptainDuckDuck Workflow in a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-in-one-picture.png"/></div></div></div></div></div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>Captain Architecture in a Glance</p>
|
||||
</span></div></div></div></div></div></div></div><div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>CaptainDuckDuck Workflow at a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-in-one-picture.png"/></div></div></div></div></div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>Captain Architecture at a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-architecture.png"/></div></div></div></div></div></div><div class="productShowcaseSection paddingBottom"><h2>Ready to give it a shot?</h2><p>Setting up and playing with CaptainDuckDuck takes around 10 minutes on the first try</p><div class="pluginWrapper buttonWrapper"><a class="button" href="/docs/en/get-started.html" target="_self">Get Started Now</a></div></div></div></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/captainduckduck.png" alt="CaptainDuckDuck" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/get-started.html">Getting Started</a></div><div><h5>Community</h5><a href="https://twitter.com/search?vertical=default&q=captainduckduck&src=typd" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://github.com/githubsaturn/captainduckduck" target="_blank">GitHub</a><a class="github-button" href="https://github.com/githubsaturn/captainduckduck" data-icon="octicon-star" data-count-href="/githubsaturn/captainduckduck/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2018 githubsaturn</section><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-121064489-1"></script><script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@
|
||||
</span></div></h2><div><span><p>Attach more nodes and create a cluster in seconds! Captain automatically configures nginx to load balance.</p>
|
||||
</span></div></div></div><div class="blockElement alignCenter fourByGridBlock"><div class="blockContent"><h2><div><span><p>Increase Productivity</p>
|
||||
</span></div></h2><div><span><p>Focus on your apps! Not the bells and whistles just to run your apps!</p>
|
||||
</span></div></div></div></div></div></div></div><div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>CaptainDuckDuck Workflow in a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-in-one-picture.png"/></div></div></div></div></div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>Captain Architecture in a Glance</p>
|
||||
</span></div></div></div></div></div></div></div><div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>CaptainDuckDuck Workflow at a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-in-one-picture.png"/></div></div></div></div></div><div class="container lightBackground paddingBottom paddingTop"><div class="wrapper"><div class="gridBlock"><div class="blockElement alignCenter imageAlignBottom twoByGridBlock"><div class="blockContent"><h2><div><span><p>Captain Architecture at a Glance</p>
|
||||
</span></div></h2><div></div></div><div class="blockImage"><img src="/img/captain-architecture.png"/></div></div></div></div></div></div><div class="productShowcaseSection paddingBottom"><h2>Ready to give it a shot?</h2><p>Setting up and playing with CaptainDuckDuck takes around 10 minutes on the first try</p><div class="pluginWrapper buttonWrapper"><a class="button" href="/docs/get-started.html" target="_self">Get Started Now</a></div></div></div></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/captainduckduck.png" alt="CaptainDuckDuck" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/get-started.html">Getting Started</a></div><div><h5>Community</h5><a href="https://twitter.com/search?vertical=default&q=captainduckduck&src=typd" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://github.com/githubsaturn/captainduckduck" target="_blank">GitHub</a><a class="github-button" href="https://github.com/githubsaturn/captainduckduck" data-icon="octicon-star" data-count-href="/githubsaturn/captainduckduck/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2018 githubsaturn</section><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-121064489-1"></script><script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
|
||||
Reference in New Issue
Block a user