- You must have a Polar account.
- You must have an oauth2 application registered on Polar Admin page.
- You must have a ngrok account.
- Run ngrok agent:
ngrok http http://localhost:8000- Create .env file and fill it:
cp example.env .env- Run the Docker container:
docker run -d -p 8000:8000 --env-file .env thelazzziest/polar-oauth-app --host 0.0.0.0 --port 8000 --log-level debug- Create the virtual environment:
uv sync- Activate the virtual environment:
source venv/bin/activate- Run the application:
uvicorn src.web:app --reload --host localhost --port 8000 --log-level debug