17 lines
233 B
Markdown
17 lines
233 B
Markdown
## Setup the dev env
|
|
|
|
Just run the docker-compose file to create the database.
|
|
|
|
|
|
```
|
|
docker-compose up -d
|
|
```
|
|
|
|
|
|
## Run the tests
|
|
|
|
|
|
```
|
|
POSTGRES_DSN="postgres://test:test@127.0.0.1:5432/test?sslmode=disable" go test -v -p=1 ./...
|
|
```
|