goBoard is a lightweight messageboard mostly written in Go and Postgres
- install Docker for Desktop
- install Golang Migrate (https://github.com/golang-migrate/migrate)
- run
docker compose up --build - the app will be running but you'll need to manually add some data
- run the tests with
go test ./...
- Make sure the
board_db_postgrescontainer is running, and that you can access the database from outside the container:
ebernstein@ebernstein-GVH2J-MBP goBoard % psql 'postgres://boardking:test@localhost:5432/board?sslmode=disable'
psql (13.10, server 15.3 (Debian 15.3-1.pgdg110+1))
WARNING: psql major version 13, server major version 15.
Some psql features might not work.
Type "help" for help.
board=# \q
- From the root directory, run:
go run db/tools/seed.go