The open source ticket reservation system.
Alf.io is a free and open source event attendance management system, developed for event organizers who care about privacy, security and fair pricing policy for their customers.
As the work for Alf.io v2 has started, this branch may contain unstable and untested code. If you want to build and deploy alf.io by yourself, we strongly suggest you to use the 2.0-M3-maintenance branch, as it contains production-ready code.
Postgresql version 9.6 or later.
Additionally, the database user that creates and uses the tables should not be a "SUPERUSER", or else the row security policy checks will not be applied.
This build includes a copy of the Gradle wrapper. You don't have to have Gradle installed on your system to build the project. Simply execute the wrapper along with the appropriate task, for example
You must specify a project property at the command line, such as
./gradlew -Pprofile=dev :bootRun
The local "bootRun" task has the following prerequisites:
once started, alf.io will create all the required tables in the database, and be available at http://localhost:8080/admin. You can log in using the default Username admin and the password which was printed on the console.
The following profiles are supported
You can get a list of all supported Gradle tasks by running
./gradlew tasks --all
You can configure additional System properties (if you need them) by creating the following file and putting into it one property per line:
Please be aware that since this file could contain sensitive information (such as Google Maps private API key) it will be automatically ignored by git.
Add a new line with:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 in custom.jvmargs
Importing the Gradle project into Intellij and Eclipse both work.
As TestContainers expect the docker socket for managing the containers, you will need to do the following (see original issue for details):
Define the 2 env. variable:
export TESTCONTAINERS_RYUK_DISABLED=true export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
And run in another console:
podman system service -t 0
To be noted:
Container images are available on https://hub.docker.com/r/alfio/alf.io/tags.
alf.io can also be run with Docker Compose (experimental):
Running alf.io in production using Docker compose is not officially supported. However, if you decide to do so, then you need to make a couple of changes:
SPRING_PROFILES_ACTIVE: devenvironment variable
docker logs alfio
boot2docker IPon Mac/Windows
Alternatively, you can use Docker (experimental):
docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project gradle:7.0.0-jdk11 gradle --no-daemon distribution -x test
Please note that at the moment the command above performs the build without running the automated tests. Use it at your own risk.
docker build -t alfio/alf.io ./build/dockerize
The certificate at src/main/resources/alfio/certificates/AppleWWDRCA.cer has been imported for https://awesomeopensource.com/project/ryantenney/passkit4j#usage functionality. It will expire the 02/07/23 (as https://www.apple.com/certificateauthority/).
A big "Thank you" goes also to our translators, who help us on POEditor:
(we show the complete name/profile only if we have received explicit consent to do so)
|Spanish (es)||Mario Varona||@mvarona||@MarioVarona|
|Spanish (es)||Sergi Almar||@salmar||@sergialmar|
|Bulgarian (bg)||Martin Zhekov||@Martin03||@MartensZone|
translations completed but not yet integrated (WIP)
|Chinese (Taiwan) (cn_TW)||Yu-cheng, Lin|
This project is sponsored by:
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]