⚠️ The project is under very active development.⚠️ Expect bugs and breaking changes.⚠️ Make sure to always have a backup of your user data.
Note
You can find the Documentation here
- Clone EZAuth Repository (
git clone https://github.com/JohnGrubba/ezauth) cd ezauthcp config/configtemplate.json config/config.json- Edit Configuration under (
config/config.json) Config Documentation mkdir config/email && cp config/emailtemplate/* config/email/- Edit E-Mails under (
config/email/*) - Start EZAuth
docker-compose up -dTo enable a efficient development process, you can start the Service with hot reloading enabled. This will automatically restart the service when a file is changed.
docker compose -f .\docker-compose.dev.yml up -d --buildTo be able to perform tests, that represent a real environment, the following technologies are used:
Those Libraries automatically get used instead of pymongo and redis when testing, to avoid the need of an additional Redis and MongoDB instance.
To run the tests, you can use the following command:
docker exec ezauth-api pytest