Update README.md (#154)

This commit is contained in:
Adrian Macneil 2020-08-08 12:30:22 -07:00 committed by GitHub
parent 24b3fccacd
commit 073efc996e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,9 +61,9 @@ To use dbmate on Heroku, the easiest method is to store the linux binary in your
```sh ```sh
$ mkdir -p bin $ mkdir -p bin
$ curl -fsSL -o bin/dbmate-heroku https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64 $ curl -fsSL -o bin/dbmate https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64
$ chmod +x bin/dbmate-heroku $ chmod +x bin/dbmate
$ git add bin/dbmate-heroku $ git add bin/dbmate
$ git commit -m "Add dbmate binary" $ git commit -m "Add dbmate binary"
$ git push heroku master $ git push heroku master
``` ```
@ -71,15 +71,7 @@ $ git push heroku master
You can then run dbmate on heroku: You can then run dbmate on heroku:
```sh ```sh
$ heroku run bin/dbmate-heroku up $ heroku run bin/dbmate up
```
**Other**
Dbmate can be installed directly using `go get`:
```sh
$ GO111MODULE=on go get -u github.com/amacneil/dbmate
``` ```
## Commands ## Commands