To setup admin user on enigma, follow these steps:
- Setup django superuser
-
Exec into the Enigma container if you are using docker
docker exec -it enigma bash
-
Run the following command in the container to create a superuser
python manage.py createsuperuser
-
Fill in the
username
,email
andpassword
for admin userCheckout detailed instructions are on Django documentation here.
- Sign-in into the admin site
-
Login to the admin site with the credentials created above.
The admin site should be available at
/admin
with the base url on which enigma is hosted.This will be
http://localhost:8000/admin
if you are running this locally
-
Now you can view the Enigma app dashboard, by navigating to enigma url.
This will be
http://localhost:8000/
if you are running this locally
To create additional users, follow the doc here.