mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 01:15:09 +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
|
```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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue