mirror of https://github.com/status-im/migrate.git
Update README.md
This commit is contained in:
parent
5645143baa
commit
e7b9b0d0ed
|
@ -16,12 +16,13 @@ $ go get -u -tags 'postgres' -o migrate github.com/mattes/migrate/cli
|
||||||
$ brew install migrate --with-postgres
|
$ brew install migrate --with-postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Linux (with deb package)
|
#### Linux (*.deb package)
|
||||||
|
|
||||||
```
|
```
|
||||||
# TODO: add key and repo
|
$ curl -L https://packagecloud.io/mattes/migrate/gpgkey | apt-key add -
|
||||||
|
$ echo "deb https://packagecloud.io/mattes/migrate/ubuntu/ xenial main" > /etc/apt/sources.list.d/migrate.list
|
||||||
$ apt-get update
|
$ apt-get update
|
||||||
$ apt-get install migrate
|
$ apt-get install -y migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Download pre-build binary (Windows, MacOS, or Linux)
|
#### Download pre-build binary (Windows, MacOS, or Linux)
|
||||||
|
@ -101,6 +102,3 @@ $ migrate -database "$(cat config.json | jq '.database')"
|
||||||
$ migrate -database "$(cat config/database.yml | ruby -ryaml -e "print YAML.load(STDIN.read)['database']")"
|
$ migrate -database "$(cat config/database.yml | ruby -ryaml -e "print YAML.load(STDIN.read)['database']")"
|
||||||
$ migrate -database "$(cat config/database.yml | python -c 'import yaml,sys;print yaml.safe_load(sys.stdin)["database"]')"
|
$ migrate -database "$(cat config/database.yml | python -c 'import yaml,sys;print yaml.safe_load(sys.stdin)["database"]')"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue