diff --git a/penpot/20231107_penpot_new_user.md b/penpot/20231107_penpot_new_user.md new file mode 100644 index 0000000..897afec --- /dev/null +++ b/penpot/20231107_penpot_new_user.md @@ -0,0 +1,33 @@ +2023-11-07 + +Create a new user in penpot using official Docker file + +Edit docker-compose.yaml: + +Under `penpot-frontend:` **and** `penpot-backend` + +Add the following to the end of PENPOT_FLAGS: +`disable-secure-session-cookies enable-insecure-registration` + +Run command: +`docker compose up -d` + +Navigate to where penpot is hosted and create a new user account. +Once successfully created, bring down docker instance: +`docker compose down` + +Under `penpot-frontend` change: +**FROM** +`PENPOT_FLAGS=enable-registration enable-login-with-password disable-secure-session-cookies enable-insecure-registration` + +**TO** +`PENPOT_FLAGS=enable-login-with-password disable-registration enable-cors` + +Under `penpot-backend` change: +**FROM** +`PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server disable-secure-session-cookies enable-insecure-registration` + +**TO** +`PENPOT_FLAGS=enable-login-with-password disable-email-verification enable-smtp enable-prepl-server enable-cors` + +Bring up docker instance. \ No newline at end of file