Django project user account management for the ARENA.
Dependencies: python3
, pip3
, virtualenv
(and requirements.txt
; check if path in Makefile
is correct)
http://your.domain
http://localhost:8989
http://your.domain/user/accounts/google/login/callback/
http://localhost:8989/
http://localhost:8000
http://localhost:8000/user/accounts/google/login/callback/
.env
, for testing on localhost using your Google auth app "Client id" and "Secret key".
HOSTNAME=localhost
ARENA_REALM=realm
EMAIL=nouser@nomail.com
GAUTH_CLIENTID=Google_OAuth_Web_Client_ID
GAUTH_CLIENTSECRET=Google_OAuth_Web_Client_Secret
MQTT_TOKEN_PRIVKEY=/path/to/your/test/key/file.pem
make migrate
python3 manage.py createsuperuser --email admin@example.com --username admin
make run
http://localhost:8000/user/admin
http://localhost:8000/user