pestanko / gouthy

Gouthy - Simple SSO authenticator for personal projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Go 41.4%Language:CSS 28.5%Language:JavaScript 25.5%Language:HTML 3.7%Language:PLpgSQL 0.8%Language:Shell 0.3%