diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-06 18:07:25 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-06 18:07:25 -0700 |
commit | 42440a8720ff5afaa72ed1f6f0b21024e76f8e82 (patch) | |
tree | 2851ded9788ea02a5482fd1a53b408bb15519a43 /README.md | |
parent | f00547de095ea6aafe9e0054dbf700fb69df33af (diff) | |
download | locchat-42440a8720ff5afaa72ed1f6f0b21024e76f8e82.tar.gz locchat-42440a8720ff5afaa72ed1f6f0b21024e76f8e82.zip |
finishes adding deploy instructions to readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -130,7 +130,7 @@ $ yarn test:cov ``` ## Setup Heroku -We will deploy all our projects to Heroku. Heroku is a cloud platform that is easy and free to use. Will only need to run these step once for each computer you are working on this semester. +We will deploy all our projects to Heroku. Heroku is a cloud platform that is easy and free to use. You will only need to run these step once for each computer you are working on this semester. ### Create an account On heroku.com create an account. @@ -174,5 +174,23 @@ You should generate new values for the `ENCRYPTION_KEY`, `REFRESH_ENCRYPTION_KEY All vars should be named the exact same as they are in the `.env` file. +### Link to Heroku +You publish to Heroku using `git`. Run the following command to add the heroku remote +```bash +$ heroku git:remote -a <your app name> +``` +If your app name in Heroku was `spy-chat` then you would run +```bash +$ heroku git:remote -a spy-chat +``` + +## Deploying +We finally made it! To deploy your app to Heroku run +```bash +$ git push heroku main +``` +and thats it! + + |