Skip to content

Gouthy - Simple SSO authenticator for personal projects

License

Notifications You must be signed in to change notification settings

pestanko/gouthy

Repository files navigation

Gouthy - Simple SSO authenticator for personal projects

Installation

TBD

Development

Development notes

Create a new migrate

This project is using the go migrate tool. CLI tool documentation can be found here

Create a new migration

migrate create -ext sql -dir db/migrations/psql <name>

Run the migration on the testing env

migrate -database 'postgres://postgres:postgres@localhost:5432/gouthy?sslmode=disable' -path db/migrations/psql up

Discard all the migrations

migrate -database 'postgres://postgres:postgres@localhost:5432/gouthy?sslmode=disable' -path db/migrations/psql down

Create a new user

go run main.go add-user -u admin -e "admin@localhost" -n "Admin User"

About

Gouthy - Simple SSO authenticator for personal projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published