Skip to content

Lomank123/Platform

Repository files navigation

Platform

Unified User Platform - Service which provides authentication to other products.

Prerequisites

  • Python 3.11+
  • Docker

Installation

  • Create .env file and copy the content of .env.example to it (don't forget to change env variables):
touch .env
cp .env.example .env
  • Create venv:
mkdir venv
cd venv
python -m venv .
cd ..
source venv/bin/activate
  • Install requirements:
pip install -r requirements.txt
  • Build and start Docker containers:
docker compose up -d --build

Utilities

  • Create superuser:
docker compose exec platform python manage.py createsuperuser --noinput

Note: Check superuser credentials in .env file.

  • To clear all blacklisted refresh tokens which have expired:
docker compose exec platform python manage.py flushexpiredtokens

About

Unified User Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published