mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-29 15:48:03 +02:00
Add step to migrate test database
Signed-off-by: Julien Boyer <julien@larevolution.re> Signed-off-by: sitarane <julien@larevolution.re>
This commit is contained in:
parent
69f123e2f2
commit
48e28fa366
1 changed files with 7 additions and 1 deletions
|
@ -393,7 +393,13 @@ your app at http://localhost:1080
|
||||||
|
|
||||||
## Run some tests
|
## Run some tests
|
||||||
|
|
||||||
Your tests are ready to run with:
|
Once you migrate your test database:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose run test rails db:migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
your tests are ready to run with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose run test rails test
|
docker compose run test rails test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue