penpot / penpot-docs

Website and documentation about Penpot, The Open-Source design & prototyping platform
https://help.penpot.app/
Mozilla Public License 2.0
128 stars 113 forks source link

create user with script #222

Open rvmadeit opened 4 months ago

rvmadeit commented 4 months ago

Hi, in the documentation there is a command: sudo docker exec -ti webapp_penpot-backend_1 bash .manage.sh create-profile but the manage.sh is no longer in the docker but when i try with the command: sudo docker exec -ti webapp_penpot-backend_1 python3 ./manage.py create-profile

image the script launch and I can create a user, but I can't log in with the web interface, I have an error wrong email or password

papgaabor commented 4 months ago

@rvmadeit The password has to be at least 8 characters long, otherwise you will get the "Email or Password is incorrect" message. (This was the problem for me, I hope this helps) Unfortunately the create-profile script doesn't check for password length.

+1 for updating the docker command to manage.py, it took me some time to figure it out.