-
Notifications
You must be signed in to change notification settings - Fork 6
Running the Server
madisonDishman edited this page Apr 23, 2021
·
2 revisions
Connecting your local repository to heroku
- Install the heroku cli https://devcenter.heroku.com/articles/heroku-cli#download-and-install
- cd into the root folder Fall2020-Group09 and login
heroku login - Connect the heroku project as a remote repository
heroku git:remote -a measuringplacesd
Now your computer can push to the heroku app
(this method pushes files only found in the backend directory, completely ignoring the frontend)
git add .git commit -m “heroku update”git subtree push -–prefix backend heroku master
The routes should be using https://measuringplacesd.herokuapp.com/ as the root, For example for the users api https://measuringplacesd.herokuapp.com/api/users/