这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Hasura GraphQL Engine Changelog

## Next release

### Bug fixes and improvements

- docs: add One-Click Render deployment guide (close #3683) (#4209)

## `v1.2.0-beta.3`

### console: manage Postgres check constraints
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Check out the instructions for the following one-click deployment options:
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
| Render | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/render-one-click.html) |

### Other deployment methods

Expand Down
3 changes: 2 additions & 1 deletion docs/graphql/manual/guides/deployment/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Guides: Deployment
- :ref:`Digital Ocean One-click App on Marketplace <deploy_do_marketplace>`
- :ref:`Azure Container Instances with Postgres <deploy_azure_ci_pg>`
- :ref:`Google Cloud Platform with Kubernetes engine and Cloud SQL <deploy_gc_kubernetes>`
- :ref:`Render One-Click Deploy with Managed PostgreSQL <deploy_render>`
- `Blog: Instant GraphQL on AWS RDS <https://hasura.io/blog/instant-graphql-on-aws-rds-1edfb85b5985>`__

.. note::
Expand All @@ -30,4 +31,4 @@ Guides: Deployment
DigitalOcean One-click App on Marketplace <digital-ocean-one-click>
Azure Container Instances with Postgres <azure-container-instances-postgres>
Google Cloud Platform with Kubernetes engine and Cloud SQL <google-kubernetes-engine-cloud-sql>

Render One-click Deploy with managed PostgreSQL <render-one-click>
61 changes: 61 additions & 0 deletions docs/graphql/manual/guides/deployment/render-one-click.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.. meta::
:description: One-Click Deploy for Hasura GraphQL Engine on Render
:keywords: hasura, docs, guide, deployment, render, postgresql

.. _deploy_render:

Deploying Hasura GraphQL engine on Render
=========================================

.. contents::
:backlinks: none
:depth: 1
:local:

This guide shows how to deploy the Hasura GraphQL engine on `Render <https://render.com>`__.

One-Click Deploy on Render
--------------------------

.. note::
Make sure to `create a free Render account <https://render.com/register>`_ first.

Once you're logged into your Render account, click the button below to deploy Hasura and a
new managed PostgreSQL database wired up to your Hasura instance.

.. image:: https://render.com/images/deploy-to-render-button.svg
:width: 200px
:alt: render_deploy_button
:class: no-shadow
:target: https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql

You will see the Hasura web service and PostgreSQL instance to be created:

.. thumbnail:: ../../../../img/graphql/manual/deployment/deploy-to-render-hasura-iac.png
:alt: Deploy To Render Hasura Page

That's it! Read on to configure your Hasura instance.

Access your Hasura Console
--------------------------

Once **Deploy to Render** succeeds, you can click through to your Hasura service page on Render's dashboard.

.. thumbnail:: ../../../../img/graphql/manual/deployment/deploy-to-render-hasura-header.png
:alt: Render Hasura Header

You can monitor the deployment of the Hasura web service from the **Logs** tab. Once the service is up, use the link on the service page to access your Hasura console:

.. code-block:: bash

https://<your-hasura-slug>.onrender.com/

You can create tables and test your GraphQL queries here.

Check out :ref:`making your first GraphQL query <first_graphql_query>` or :ref:`setting up your first event trigger <first_event_trigger>` for more.

References
----------

- `Render Hasura GraphQL on GitHub <https://github.com/render-examples/hasura-graphql>`_
- `Render Docs <https://render.com/docs>`_
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.