No description
Find a file
2023-07-30 13:08:50 -06:00
.github/workflows Add dependency fetch to github build 2023-07-29 17:45:49 -06:00
archetypes Initial commit 2023-07-29 15:58:46 -06:00
bin Fix up CORS stuff 2023-07-29 15:58:48 -06:00
config Add NotFound handler for serving Hugo static site 2023-07-30 12:46:09 -06:00
content Add new garbage tag 2023-07-29 22:17:08 -06:00
html_parser Commit grave sins for partial/full page retrieval 2023-07-30 12:03:39 -06:00
internal/cmd/develop Initial commit 2023-07-29 15:58:46 -06:00
layouts/partials Fix up CORS stuff 2023-07-29 15:58:48 -06:00
migrations Add submission support / rework menus 2023-07-29 15:58:49 -06:00
partials Change blockquote styling/put posts in blockquote 2023-07-30 13:08:50 -06:00
themes/terminal Change blockquote styling/put posts in blockquote 2023-07-30 13:08:50 -06:00
.gitignore Fix up CORS stuff 2023-07-29 15:58:48 -06:00
env.sample Rename FROM_ADDRESS env var 2023-07-29 22:01:52 -06:00
go.mod Commit grave sins for partial/full page retrieval 2023-07-30 12:03:39 -06:00
go.sum Commit grave sins for partial/full page retrieval 2023-07-30 12:03:39 -06:00
hugo.toml Add login verification, move Submit menu item 2023-07-29 15:58:49 -06:00
index.html Initial commit 2023-07-29 15:58:46 -06:00
job.nomad.hcl Fix SMTP_USERNAME env var name 2023-07-29 20:55:10 -06:00
LICENSE Initial commit 2023-07-29 15:57:50 -06:00
README.md Add submission support / rework menus 2023-07-29 15:58:49 -06:00
server.go Add NotFound handler for serving Hugo static site 2023-07-30 12:46:09 -06:00

Garbage Speak

A fun and useless website

Migrations

Migrations required go-migrate to be run locally:

go install github.com/golang-migrate/migrate@v4

Adding migrations

migrate create -ext sql -dir migrations -seq name_of_migration

Running migrations

Migrate up

migrate -database ${POSTGRESQL_URL} -path migrations up

Migrate down

migrate -database ${POSTGRESQL_URL} -path migrations down