Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 645 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 645 Bytes

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