itk-dev/pretix-api-client-php

PHP client for pretix api

1.2.0 2023-11-22 11:38 UTC

This package is auto-updated.

Last update: 2024-12-22 14:06:05 UTC


README

composer require itk-dev/pretix-api-client-php

Test

docker-compose up -d
docker-compose exec phpfpm composer install
docker-compose exec pretix python /pretix/src/manage.py migrate
docker-compose exec pretix python /pretix/src/manage.py compress
docker-compose exec pretix python /pretix/src/manage.py collectstatic --no-input

Run the tests:

./scripts/test

pretix

To access pretix, add

0.0.0.0 pretix

to your /etc/hosts file and run

open http://pretix:$(docker-compose port pretix 80 | cut -d: -f2)/control

Sign in as admin@localhost with password admin.