diff --git a/_reference/New Hasura Deployment.md b/_reference/New Hasura Deployment.md index 0594f3d6a..1f9856eeb 100644 --- a/_reference/New Hasura Deployment.md +++ b/_reference/New Hasura Deployment.md @@ -1,7 +1,8 @@ Postman Method: -POST https://db.imex.online/v1alpha1/pg_dump -Set x-hasura-admin-secret header. -Body is RAW JSON: +POST https://db.imex.online/v1alpha1/pg_dump +Set x-hasura-admin-secret header. +Body is RAW JSON: + ``` { "opts": ["-O", "-x", "--schema-only", "--schema", "public"], @@ -9,14 +10,15 @@ Body is RAW JSON: } ``` -Save output. -Manually export hasura metadata on production. +Save output. +Manually export hasura metadata on production. -Go to new instance. +Go to new instance. Run SQL ``` CREATE EXTENSION pg_trgm ``` + Run SQL from PG Dump -Import hasura metadata. \ No newline at end of file +Import hasura metadata. diff --git a/_reference/dropletSetup.md b/_reference/dropletSetup.md index 94c842363..34118319f 100644 --- a/_reference/dropletSetup.md +++ b/_reference/dropletSetup.md @@ -47,7 +47,7 @@ Add the SSH key to the drop creation screen. 7. Alter Nginx config 1. sudo nano /etc/nginx/sites-available/default 2. //Add Appropriate server names to the file. www. and non-www. - 3. Add the following inside the location of the server block: + 3. Add the following inside the location of the server block: (Remove the 404 bit.) proxy_pass http://localhost:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;