itk-dev/pretix-api-client-php

PHP client for pretix api

1.0.0 2022-02-22 10:39 UTC

This package is auto-updated.

Last update: 2022-04-22 11:05:34 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.