Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #70 from tubone24/heroku
Browse files Browse the repository at this point in the history
Heroku
  • Loading branch information
tubone24 committed Apr 30, 2019
2 parents a56bd6d + 36e61cb commit df426b5
Show file tree
Hide file tree
Showing 38 changed files with 628 additions and 46 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
recursive-include ebook_homebrew *.yaml
recursive-include ebook_homebrew *.yaml
recursive-include ebook_homebrew/static *.html
6 changes: 3 additions & 3 deletions doc_src/deploy2heroku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Deploy Heroku button

Or Push a Heroku button below

.. image:: https://www.herokucdn.com/deploy/button.png
:target: https://heroku.com/deploy
:alt: Deploy to Heroku
.. _a link: https://github.com/tubone24/ebook_homebrew#deploy-api-to-heroku





1 change: 1 addition & 0 deletions doc_src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Badges:
installation.rst
overview.rst
howtouse.rst
deploy2heroku.rst
releasenotes/index.rst


Expand Down
1 change: 1 addition & 0 deletions docs/_modules/ebook_homebrew/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down
5 changes: 2 additions & 3 deletions docs/_modules/ebook_homebrew/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down Expand Up @@ -185,9 +186,7 @@ <h1>Source code for ebook_homebrew.cli</h1><div class="highlight"><pre>
<span class="p">)</span>

<span class="n">parser_api</span> <span class="o">=</span> <span class="n">subparsers</span><span class="o">.</span><span class="n">add_parser</span><span class="p">(</span>
<span class="s2">&quot;api&quot;</span><span class="p">,</span>
<span class="n">description</span><span class="o">=</span><span class="s2">&quot;Run Rest API server.&quot;</span><span class="p">,</span>
<span class="n">help</span><span class="o">=</span><span class="s2">&quot;Provides Rest API interfaces.&quot;</span><span class="p">,</span>
<span class="s2">&quot;api&quot;</span><span class="p">,</span> <span class="n">description</span><span class="o">=</span><span class="s2">&quot;Run Rest API server.&quot;</span><span class="p">,</span> <span class="n">help</span><span class="o">=</span><span class="s2">&quot;Provides Rest API interfaces.&quot;</span>
<span class="p">)</span>

<span class="n">parser_api</span><span class="o">.</span><span class="n">add_argument</span><span class="p">(</span>
Expand Down
1 change: 1 addition & 0 deletions docs/_modules/ebook_homebrew/convert.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down
1 change: 1 addition & 0 deletions docs/_modules/ebook_homebrew/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down
1 change: 1 addition & 0 deletions docs/_modules/ebook_homebrew/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down
3 changes: 2 additions & 1 deletion docs/_modules/ebook_homebrew/helper.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down Expand Up @@ -237,7 +238,7 @@ <h1>Source code for ebook_homebrew.helper</h1><div class="highlight"><pre>
<span class="sd"> :param args: argparse namespace object</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="n">port</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">args</span><span class="o">.</span><span class="n">port</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
<span class="n">api</span><span class="o">.</span><span class="n">run</span><span class="p">(</span><span class="n">port</span><span class="o">=</span><span class="n">port</span><span class="p">)</span></div>
<span class="n">api</span><span class="o">.</span><span class="n">run</span><span class="p">(</span><span class="n">address</span><span class="o">=</span><span class="s2">&quot;0.0.0.0&quot;</span><span class="p">,</span> <span class="n">port</span><span class="o">=</span><span class="n">port</span><span class="p">)</span></div>


<div class="viewcode-block" id="show_version"><a class="viewcode-back" href="../../ebook_homebrew.html#ebook_homebrew.helper.show_version">[docs]</a><span class="k">def</span> <span class="nf">show_version</span><span class="p">():</span>
Expand Down
1 change: 1 addition & 0 deletions docs/_modules/ebook_homebrew/rename.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../howtouse.html">How to use</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../deploy2heroku.html">Deploy to Heroku</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releasenotes/index.html">Release Notes</a></li>
</ul>

Expand Down

0 comments on commit df426b5

Please sign in to comment.