Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.92 KB

File metadata and controls

39 lines (30 loc) · 1.92 KB

Wire Poll App

GitHub version Build

Wire app for the polls. Based on Wire Applications JVM SDK, which offers full support for MLS.
Previous Poll Bot implementation was based on Roman therefore did not employ E2EE directly, and worked with Proteus protocol only.

Commands

Basic usage

  • /poll "Question" "Option 1" "Option 2" will create poll
  • /poll help to show help
  • /poll version prints the current version of the poll app

Technologies used

Usage

  • The app needs Postgres database up & running - we use one in docker-compose.yml, to start it up, you can use command make db.
  • To run the application execute make run or ./gradlew run.
  • To run the application inside the docker compose environment run make up.

For more details see Makefile.

App configuration

Configuration is currently being loaded from the environment variables.

Via the system variables - see complete list. And also the env variables required by Wire Applications JVM SDK

Docker Compose

To run app inside docker compose environment with default PostgreSQL database, please create .env file in the root directory, starting from the .env.sample file.