mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 09:25:07 +01:00
parent
f150d6aeff
commit
4e01c75eca
5 changed files with 29 additions and 19 deletions
10
README.md
10
README.md
|
|
@ -42,6 +42,14 @@ $ sudo curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/re
|
|||
$ sudo chmod +x /usr/local/bin/dbmate
|
||||
```
|
||||
|
||||
**Docker**
|
||||
|
||||
You can run dbmate using the official docker image:
|
||||
|
||||
```sh
|
||||
$ docker run --rm amacneil/dbmate --help
|
||||
```
|
||||
|
||||
**Heroku**
|
||||
|
||||
To use dbmate on Heroku, the easiest method is to store the linux binary in your git repository:
|
||||
|
|
@ -55,7 +63,7 @@ $ git commit -m "Add dbmate binary"
|
|||
$ git push heroku master
|
||||
```
|
||||
|
||||
You can now run dbmate on heroku:
|
||||
You can then run dbmate on heroku:
|
||||
|
||||
```sh
|
||||
$ heroku run bin/dbmate-heroku up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue