-
Install go 1.17
brew install go
-
Install sqitch
brew install sqitch
sqitch config --user user.email '[email protected]'
sqitch config --user user.name 'Jason Ganub'
-
Install Postgres.app 14
https://postgresapp.com/downloads.html
-
Initialize Postgres 14 and double tap on the Postgres
-
Create the database
create database boozy;
-
Run database migrations
sqitch deploy db:pg:boozy
-
Run the server
go run server.go