summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/README.md b/README.md
index ec60275..a2e9baf 100644
--- a/README.md
+++ b/README.md
@@ -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!
+
+