Skip to content

Commit ae20eca

Browse files
committed
Update README.md with directions to run the application
1 parent 7f05c26 commit ae20eca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,22 @@ $ cd cookoff-9.0-backend
8787

8888
#### Directions to Run
8989

90+
1. Spin up containers
9091
```sh
9192
$ docker compose up --build -d
9293
```
9394

95+
2. Install sqlc
9496
```sh
9597
$ go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
9698
```
9799

100+
3. Generate sqlc schema and queries
98101
```sh
99102
$ make generate
100103
```
101104

105+
4. Apply migrations
102106
```sh
103107
$ make apply-schema
104108
```

0 commit comments

Comments
 (0)