mirror of
https://github.com/penpot/penpot.git
synced 2025-07-14 05:07:19 +02:00
Merge pull request #6724 from penpot/elenatorro-improve-create-profile-command
🔧 Add option to skip tutorial/walkthrough when creating a profile from the script
This commit is contained in:
commit
e2c5a1378e
3 changed files with 36 additions and 2 deletions
|
@ -170,6 +170,23 @@ similar to a webmail client. Simply navigate to:
|
|||
|
||||
[http://localhost:1080](http://localhost:1080)
|
||||
|
||||
## Create user
|
||||
|
||||
You can register a new user manually, or create new users automatically with this script. From your tmux instance, run:
|
||||
|
||||
|
||||
```sh
|
||||
cd penpot/backend/scripts
|
||||
python3 manage.py create-profile
|
||||
```
|
||||
|
||||
You can also skip tutorial and walkthrough steps:
|
||||
|
||||
```sh
|
||||
python3 manage.py create-profile --skip-tutorial --skip-walkthrough
|
||||
python3 manage.py create-profile -n "Jane Doe" -e jane@example.com -p secretpassword --skip-tutorial --skip-walkthrough
|
||||
```
|
||||
|
||||
## Team Feature Flags
|
||||
|
||||
To test a Feature Flag, you can enable or disable them by team through the `dbg` page:
|
||||
|
|
|
@ -89,6 +89,13 @@ For instance, if the registration is disabled, the only way to create a new use
|
|||
docker exec -ti penpot-penpot-backend-1 python3 manage.py create-profile
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
docker exec -ti penpot-penpot-backend-1 python3 manage.py create-profile --skip-tutorial --skip-walkthrough
|
||||
```
|
||||
|
||||
|
||||
**NOTE:** the exact container name depends on your docker version and platform.
|
||||
For example it could be <code class="language-bash">penpot-penpot-backend-1</code> or <code class="language-bash">penpot_penpot-backend-1</code>.
|
||||
You can check the correct name executing <code class="language-bash">docker ps</code>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue