This project defines the Twitter raffle website to gift our sponsor prizes.
Support and bug request are welcome on GitHub issues.
The application can be packaged as a jar application, the classic mode, or as a native application, the native mode.
Compile the project with Maven:
mvn package
Compile project with Maven using native profile:
mvn package -Pnative
Run providing Twitter client credentials using CLI arguments:
# Run classic mode
java -Dtwitter4j.oauth.consumerKey=<consumerKey> \
-Dtwitter4j.oauth.consumerSecret=<consumerSecret> \
-Dtwitter4j.oauth.accessToken=<accessToken> \
-Dtwitter4j.oauth.accessTokenSecret=<accessTokenSecret> \
-jar target/quarkus-app/quarkus-run.jar
Run providing Twitter client credential using environment variables:
export twitter4j_oauth_consumerKey=<consumerKey>
export twitter4j_oauth_consumerSecret=<consumerSecret>
export twitter4j_oauth_accessToken=<accessToken>
export twitter4j_oauth_accessTokenSecret=<accessTokenSecret>
# Run classic mode
java -jar -jar target/quarkus-app/quarkus-run.jar
# Run native mode
target/twitter-raffle-1.x.y-runner