Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hiromaily committed Feb 4, 2021
1 parent 9f848c7 commit 4f1a665
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,3 @@ heroku-run:
.PHONY: heroku-run-bash
heroku-run-bash:
heroku run bash

.PHONY: heroku-info
heroku-info:
#heroku config | grep REDIS
heroku config
heroku ps
heroku ps -a book
heroku logs -t
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ $ heroku addons:create scheduler:standard
## Environment variable
$ heroku config:add 'ENC_KEY=xxxxxxxxxxxxxxxx'
$ heroku config:add 'ENC_IV=xxxxxxxxxxxxxxxx'
$ heroku config:add GO_BOOK_CONF=/app/configs/default.toml
$ heroku config:add GO_BOOK_JSON=/app/configs/teacher/default.json
$ heroku config:add GO_BOOK_CONF=/app/configs/heroku.toml
$ heroku config:add GO_BOOK_JSON=/app/configs/teacher/default.example.json
```
### deploy
Expand All @@ -170,4 +170,12 @@ $ heroku config
4. execute
```
$ heroku run book -toml /app/configs/heroku.toml
```
5. show logs
```
heroku logs -t
```
6. instance info
```
heroku ps
```

0 comments on commit 4f1a665

Please sign in to comment.