add adminpass cmd, update readme
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Simon 2024-11-27 15:09:17 +01:00
parent 9dffdfde39
commit 4183ab5c54
2 changed files with 14 additions and 8 deletions

View File

@ -1,17 +1,17 @@
# pretix # pretix
> One line description of the recipe > Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.
<!-- metadata --> <!-- metadata -->
* **Category**: Apps * **Category**: Apps
* **Status**: 0 * **Status**: 0
* **Image**: [`pretix`](https://hub.docker.com/r/pretix), 4, upstream * **Image**: [`pretix`](https://hub.docker.com/r/pretix), 4, upstream
* **Healthcheck**: No * **Healthcheck**: Yes
* **Backups**: No * **Backups**: Yes
* **Email**: No * **Email**: Yes
* **Tests**: No * **Tests**: No
* **SSO**: No * **SSO**: Only supported for customer accounts, see [documentation](https://docs.pretix.eu/en/latest/user/customers/index.html)
<!-- endmetadata --> <!-- endmetadata -->
@ -21,6 +21,8 @@
* `abra app config <app-name>` * `abra app config <app-name>`
* `abra app deploy <app-name>` * `abra app deploy <app-name>`
* If you get an internal server error, try running `pretix migrate` inside the app container * If you get an internal server error, try running `pretix migrate` inside the app container
* Initial admin is `admin@localhost` with password `admin`
* Change immediately via gui or `abra app cmd <DOMAIN> app change_adminpass`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
@ -28,7 +30,7 @@ For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
## TODO ## TODO
* [X] mail * [X] mail
* [ ] healthchecks * [x] healthchecks
* [ ] cronjob: 15,45 * * * * /usr/bin/docker exec pretix.service pretix cron * [x] cronjob: 15,45 * * * * /usr/bin/docker exec pretix.service pretix cron
* [ ] backups https://docs.pretix.eu/en/latest/admin/maintainance.html#maintainance * [x] backups https://docs.pretix.eu/en/latest/admin/maintainance.html#maintainance
* [ ] plugins * [ ] plugins

View File

@ -1,3 +1,7 @@
export PRETIX_CONFIG_VERSION=v1 export PRETIX_CONFIG_VERSION=v1
export CRON_ENTRYPOINT_VERSION=v1 export CRON_ENTRYPOINT_VERSION=v1
export PG_BACKUP_VERSION=v1 export PG_BACKUP_VERSION=v1
change_adminpass(){
python -m django changepassword admin@localhost
}