diff --git a/{{cookiecutter.app_name}}/README.rst b/{{cookiecutter.app_name}}/README.rst index 50c5913351afbca05c15a11e11ab0bcaecba7f90..9e29ee744ef06ada6df5eb53573e818e1e550519 100644 --- a/{{cookiecutter.app_name}}/README.rst +++ b/{{cookiecutter.app_name}}/README.rst @@ -157,6 +157,14 @@ Since the filesystem on Heroku is ephemeral, non-version controlled files (like **Note:** ``psycopg2-binary`` package is a practical choice for development and testing but in production it is advised to use the package built from sources. Read more in the `psycopg2 documentation <http://initd.org/psycopg/docs/install.html?highlight=production%20advised%20use%20package%20built%20from%20sources#binary-install-from-pypi>`_ +If you keep your project on GitHub you can use 'Deploy to Heroku' button thanks to which the deployment can be done in web browser with minimal configuration required. +The configuration used by the button is stored in ``app.json`` file. + +.. raw:: html + + <a href="https://heroku.com/deploy" style="display: block"><img src="https://www.herokucdn.com/deploy/button.svg" title="Deploy" alt="Deploy"></a> + <br> + Deployment by using `Heroku CLI <https://devcenter.heroku.com/articles/heroku-cli>`_: * Create Heroku App. You can leave your app name, change it, or leave it blank (random name will be generated):: @@ -183,11 +191,4 @@ Deployment by using `Heroku CLI <https://devcenter.heroku.com/articles/heroku-cl git push heroku master -If you keep your project on GitHub you can use 'Deploy to Heroku' button thanks to which the deployment can be done in web browser with minimal configuration required. -The configuration used by the button is stored in ``app.json`` file. - -.. raw:: html - - <a href="https://heroku.com/deploy"><img src="https://www.herokucdn.com/deploy/button.svg" title="Deploy" alt="Deploy"></a> - -{%- endif %} +{%- endif %} \ No newline at end of file