Skip to content

Commit

Permalink
Update Module13 Activity.md
Browse files Browse the repository at this point in the history
fixing the server build and start commands to use production environment.
  • Loading branch information
ViharReddy authored Oct 28, 2024
1 parent bb7c129 commit c095a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Activities/Module13 Activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Note: The .env file is not required for the Render.com setup. The above instruct
5. For Branch, select "main".
6. For Region, keep the default value.
7. For Root Directory, type in "server".
8. For Build Command, type in "npm install".
9. For Start Command, type in "npm run start".
8. For Build Command, type in "npm install && tsc".
9. For Start Command, type in "npm run start:prod".
10. For Instance Type, choose the "Free" option.
11. In the Environment Variables section, add a variable called `MONGODB_URI`. For the value, add the connection string of the MongoDB database created earlier. Make sure that you remove the trailing slash, if any.
12. If you need to change any of these, you can do so from the tab called "Settings" (or "Environment")
Expand Down

0 comments on commit c095a19

Please sign in to comment.