Skip to content

thathva/Wellness-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying to prod - No longer working because of Heroku's paid plans.

  1. Ensure the backend and frontend servers work as expected with localhost:5000 and localhost:3000 respectively on the main branch.
  2. Merge the changes into the prod branch.
  3. Replace the following lines of code (DO NOT replace any of the instances in README.md)
    1. Replace "host: 'localhost:3000'," with "host: 'fitocity.herokuapp.com'," in /server/Routes/auth.js
    2. Replace "protocol: 'http'," with "protocol: 'https'," in /server/Routes/auth.js
    3. Replace instances of "http://localhost:3000" with "https://fitocity.herokuapp.com"
    4. Replace instances of "http://localhost:5000" with "https://fitocity.herokuapp.com"
    5. Create a new commit
    6. Run git push heroku *your-branch-name*:main (this assumes you have a remote pointing to the fitocity heroku repo)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published