Skip to content

Commit b71a5ba

Browse files
authored
Update README.md
1 parent 3e41086 commit b71a5ba

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

Diff for: README.md

+30-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
https://user-images.githubusercontent.com/20285232/181749889-24593a54-2847-466c-8f73-6b3f754ad303.mp4
42

53
# Nhost Netlify Starter Template (nextjs-reactquery-graphql)
@@ -172,3 +170,33 @@ Nhost supports a git-based workflow which means that you can safely work locally
172170

173171
</p>
174172
</details>
173+
174+
## Deploy to Netlify
175+
176+
<details><summary><h6>Steps for deploying this template to Netlify</h6></summary>
177+
178+
1. Clone this repo: ``
179+
2. Make sure you are in the correct directory and run`yarn install` (or `npm install`.)
180+
3. Run `yarn dev` (or `npm run dev`.)
181+
4. Make your desired changes to the front-end.
182+
5. Provide the necessary permissions to the Netlify application for your GitHub repository.
183+
6. Add the correct environment variables from your Nhost application:
184+
185+
```
186+
NEXT_PUBLIC_NHOST_SUBDOMAIN=YOUR_NHOST_APP_SUBDOMAIN
187+
NEXT_PUBLIC_NHOST_REGION=YOUR_NHOST_APP_REGION
188+
```
189+
190+
You can select these variables from your app overview:
191+
192+
<p align="center" width="100%">
193+
<img width="50%"" src="https://user-images.githubusercontent.com/20285232/181790261-065d7e61-6986-4acc-94d7-5a7f828da76d.png">
194+
</p>
195+
196+
Add the variables to your Netlify Deployment:
197+
198+
<p align="center" width="100%">
199+
<img width="50%"" src="https://user-images.githubusercontent.com/20285232/181789867-ebd6a197-8125-47a1-9bd1-8f8f01e24f29.png">
200+
</p>
201+
</details>
202+

0 commit comments

Comments
 (0)