Coder Social home page Coder Social logo

twitter-raffle's Introduction

Paris JUG Twitter raffle website

This project defines the Twitter raffle website to gift our sponsor prizes.

Support and bug request are welcome on GitHub issues.

Bug report

homepage

showing a winner

Package

The application can be packaged as a jar application, the classic mode, or as a native application, the native mode.

Classic Mode

Compile the project with Maven:

mvn package

Native Mode

Compile project with Maven using native profile:

mvn package -Pnative

Run

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

twitter-raffle's People

Contributors

jetoile avatar perfectslayer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

parisjug

twitter-raffle's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.