/identity

A micro-service to manage users and authentication

Primary LanguagePython

Identity

A micro-service to manage users and authentication

Run locally

Setup .env variables

$ cp .env.dist .env

Edit accordingly to change the SECRET value. DATABASE_URL should work out the box.

Setup database

Create postgresql data directory: mkdir .docker-cache/datadir

Database is automatically created the first time postgres starts with db-initialize.sql

Note: need to build the container to run the database migration.

Build container

$ make docker_build

Migrate database schema

$ make aerich_upgrade

Start

$ make up

todo

  • logger