go install
practicelog db reset
practicelog db migrate
practicelog db seedpracticelog practiced "<label name>"Build it
docker build -t practicelog .Run it
docker run --rm -p 8080:8080 practicelogHeroku CLI creates git remote named heroku automatically. It also lets Heroku to auto detect app name.
App commands are typically executed from within an app’s local git clone. The app name is automatically detected by scanning the git remotes for the current working copy
heroku git:remote -a guitar-practice-logCreate a new branch and switch to that branch
git branch main
git checkout mainBuild the UI code
cd practicelogui
npm run buildTest the deployment locally
go build -o bin/practicelog -v .
heroku localPackage everything and commit
go mod tidy
go mod vendor
git add -A
git commit -m "..."
git push heroku mainDon't push it to GitHub because it's too big.
heroku configThen use the connection URL and psql into it directly.
psql <connection URL>