Skip to content

Commit 5edb598

Browse files
committed
Document how to deploy with git
1 parent bac2c52 commit 5edb598

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,31 @@ For more detailed setup instructions, see the next section.
7070
- `GH_TOKEN`: The access token you just created.
7171

7272
```
73-
now microfeedback/microfeedback-github -e GH_TOKEN=abc123
73+
now microfeedback/microfeedback-github -e GH_TOKEN=<bot's github token>
7474
```
7575

7676
- You're done! Copy the URL returned by `now`. This is the URL clients will use to access the service.
7777

7878
## Deploy to Heroku
7979

80-
If you prefer to deploy to Heroku, use the deployment button below
80+
If you prefer to deploy to Heroku, use the deployment button below or
81+
deploy with Git.
8182

8283
### One click deploy
8384

8485
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
8586

87+
### Deployment with git
88+
89+
You can also deploy with git and the heroku CLI.
90+
91+
```
92+
git clone https://github.com/microfeedback/microfeedback-github.git
93+
cd microfeedback-github
94+
heroku create
95+
heroku config:set GH_TOKEN=<bot's github token>
96+
git push heroku master
97+
```
8698

8799
## Configuration
88100

0 commit comments

Comments
 (0)