From e7711a677c9e590f6fd625ffb48c555d1d9eda47 Mon Sep 17 00:00:00 2001 From: Anikesh Kamath Date: Tue, 22 Oct 2024 16:25:02 -0400 Subject: [PATCH] Update Module13 Activity.md --- Activities/Module13 Activity.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Activities/Module13 Activity.md b/Activities/Module13 Activity.md index d698130..dbe839b 100644 --- a/Activities/Module13 Activity.md +++ b/Activities/Module13 Activity.md @@ -96,6 +96,8 @@ CLIENT_URL=http://localhost:3000 PORT=8000 ``` +Note: The .env file is not required for the Render.com setup. The above instructions are only if you want to connect the cloud MongoDB to your local (laptop) server. + ### Setup your Server 1. Open the [Render Dashboard](https://dashboard.render.com/). @@ -137,7 +139,7 @@ In case your server is is not responding to requests after a long period of inac 7. For Root Directory, type in "client". 8. For Build Command, type in "npm install && npm run build". 9. For Publish directory, type in "build". -10. In the Environment Variables section, add a variable called `REACT_APP_SERVER_URL`. For the value, add the server URL from step 5 above. +10. In the Environment Variables section, add a variable called `REACT_APP_SERVER_URL`. For the value, add the server URL from **Setup your Server** Step 5. 11. Click "Deploy Static Site". 12. Once the site is deployed, copy the client URL. As before, you can find this in purple near the top of the "Logs" page. 13. Open the [Render Dashboard](https://dashboard.render.com/) again. Choose the project you have created, and go back to service called "Web Service".