Skip to content

Commit

Permalink
make command more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
laceysanderson authored May 2, 2024
1 parent a3b820f commit 672df4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ You will be prompted for a password. The default password is `chadotest`
When you build the image as shown above, it actually uses the current code in your Chado clone.
In order to allow you to modify the migrations while running the container, you will mount your current directory inside the container using the following approach. This way you can edit the files locally and they will be automatically updated within the container and available to flyway.
```bash
docker build --tag gmod/chado:local --file docker/Dockerfile --build-arg PGSQL_VERSION=<version> ./
docker build --tag gmod/chado:local --file docker/Dockerfile \
--build-arg PGSQL_VERSION=<version> ./
docker run -it -rm --volume=$(pwd):/Chado gmod/chado:local
```
You can test FlyWay migrations by running these flyway commands:
Expand Down

0 comments on commit 672df4b

Please sign in to comment.