mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Update README.md (#154)
This commit is contained in:
parent
24b3fccacd
commit
073efc996e
1 changed files with 4 additions and 12 deletions
16
README.md
16
README.md
|
|
@ -61,9 +61,9 @@ To use dbmate on Heroku, the easiest method is to store the linux binary in your
|
|||
|
||||
```sh
|
||||
$ mkdir -p bin
|
||||
$ curl -fsSL -o bin/dbmate-heroku https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64
|
||||
$ chmod +x bin/dbmate-heroku
|
||||
$ git add bin/dbmate-heroku
|
||||
$ curl -fsSL -o bin/dbmate https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64
|
||||
$ chmod +x bin/dbmate
|
||||
$ git add bin/dbmate
|
||||
$ git commit -m "Add dbmate binary"
|
||||
$ git push heroku master
|
||||
```
|
||||
|
|
@ -71,15 +71,7 @@ $ git push heroku master
|
|||
You can then run dbmate on heroku:
|
||||
|
||||
```sh
|
||||
$ heroku run bin/dbmate-heroku up
|
||||
```
|
||||
|
||||
**Other**
|
||||
|
||||
Dbmate can be installed directly using `go get`:
|
||||
|
||||
```sh
|
||||
$ GO111MODULE=on go get -u github.com/amacneil/dbmate
|
||||
$ heroku run bin/dbmate up
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue