File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 1
-
2
-
3
1
https://user-images.githubusercontent.com/20285232/181749889-24593a54-2847-466c-8f73-6b3f754ad303.mp4
4
2
5
3
# 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
172
170
173
171
</p >
174
172
</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
+
You can’t perform that action at this time.
0 commit comments