add git clone command to heroku update guide (close #3582) (#3587)

This commit is contained in:
Shahidh K Muhammed 2019-12-24 19:00:54 +05:30 committed by GitHub
parent 5ab2c53a94
commit 6ef5b438c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,11 @@ https://github.com/hasura/graphql-engine-heroku.
Clone the above repository.
.. code-block:: bash
git clone https://github.com/hasura/graphql-engine-heroku
cd graphql-engine-heroku
If you already have this, then pull the latest changes which will have the updated GraphQL engine Docker image.
Step 2: Attach your Heroku app
@ -38,8 +43,8 @@ to be able to push to this app.
.. code-block:: bash
# Replace <hasura-heroku> with your Heroku app's name
$ heroku git:remote -a <hasura-heroku>
$ heroku stack:set container -a <hasura-heroku>
heroku git:remote -a <hasura-heroku>
heroku stack:set container -a <hasura-heroku>
You can find your Heroku git repo in your Heroku - Settings - Info - Heroku Git URL
@ -50,7 +55,7 @@ When you ``git push`` to deploy, the Heroku app will get updated with the latest
.. code-block:: bash
$ git push heroku master
git push heroku master
Deploy a specific version of the Hasura GraphQL engine
------------------------------------------------------
@ -72,4 +77,4 @@ Change ``v1.0.0-alpha01`` to ``v1.0.0-alpha02`` for example, and then ``git push
.. note::
If you are downgrading to an older version of the GraphQL engine you might need to downgrade your metadata catalogue version
as described in :doc:`../downgrading`
as described in :doc:`../downgrading`