Skip to content

Commit 9174c31

Browse files
committed
app is an app
1 parent 020aff5 commit 9174c31

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ docker-compose build
1616
docker-compose run web rake -T
1717
```
1818

19-
### How to add a new migration
19+
### How to add a new migration
2020

2121
Just create a migration file in 'db/migrate' folder, using numerical order at the beginning of the file. E.g., take a look a the already existent file `001_create_table_pets.rb`
2222

23-
### Run migrations
23+
### Run migrations
2424

2525
```sh
26-
docker-compose run web rake db:create db:migrate
26+
docker-compose run web rake db:create db:migrate db:seed
2727
```
2828

2929
###

db/data.sqlite3

0 Bytes
Binary file not shown.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: '3.5'
22
services:
3-
web:
3+
app:
44
command: bash
55
build:
66
context: ./

0 commit comments

Comments
 (0)