From 52240b2564b9eaf087890a410959fc469c40a7a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobiasz=20K=C4=99dzierski?= <tobiasz.kedzierski@polidea.com> Date: Mon, 7 Oct 2019 07:56:52 +0200 Subject: [PATCH] fixup! Apply suggestions from code review --- {{cookiecutter.app_name}}/README.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/{{cookiecutter.app_name}}/README.rst b/{{cookiecutter.app_name}}/README.rst index 50c59133..9e29ee74 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 -- GitLab