penpot-admin icon indicating copy to clipboard operation
penpot-admin copied to clipboard

Unable to login

Open RonElwaya opened this issue 2 years ago • 2 comments

I have successfully managed to run the penpot admin application and connect it to my local penpot instance. But upon trying to log in I have incountered the issue that i have absolutely zero clue what the username and password are supposed to be, or where to configure them in my settings.

RonElwaya avatar Oct 01 '23 14:10 RonElwaya

@RonElwaya After splunking around a bit, I was able to generate an account for logging into the penpot-admin via:

NOTE: I'm running a standard self-hosted instance using podman. The command below should work just as well for docker.

podman exec -ti penpot_penpot-admin_1 python3 manage.py createsuperuser

I was then prompted to provide a username, email, and password (which I was able to use to successfully login to the admin dashboard).

taylor-jones avatar Feb 02 '24 04:02 taylor-jones

After"For a quick examplo on how it can be used, please refer to the penpot docker compose file for an example for how it can be used." in<docker-compose.yaml>,by "admin" i locate: " ## The PREPL host. Mainly used for external programatic access to penpot backend

(example: admin). By default it listen on localhost but if you are going to use

the admin, you will need to uncomment this and set the host to 0.0.0.0.

- PENPOT_PREPL_HOST=0.0.0.0

" what should i do then to proceed please...>.<

eksroo avatar Feb 14 '24 14:02 eksroo