finishes adding deploy instructions to readme
This commit is contained in:
parent
f00547de09
commit
42440a8720
20
README.md
20
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!
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user