Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.12 KB

README.md

File metadata and controls

72 lines (50 loc) · 2.12 KB

Run with standalone jar

Create the environment variables for the mongodb. Something like this:

export CLOODLE_TEST_MONGO_URL="mongodb://user:[email protected]:12345/cloodle-test"
export CLOODLE_PROD_MONGO_URL="mongodb://user:[email protected]:12345/cloodle-prod"

In test mode

java -jar target/cloodle-0.1.0-SNAPSHOT-standalone.jar

In production mode

java -DMODE=PROD -jar target/cloodle-0.1.0-SNAPSHOT-standalone.jar

To run with Docker

Create the container:

docker build -t cloodle  .

Start the container:

docker run -e CLOODLE_TEST_MONGO_URL="mongodb://user:[email protected]:12345/cloodle-docker"  -p 8081:80 cloodle

The Docker file was taken from here: Docker hub

To implement for initial usable version

![Gitter](https://badges.gitter.im/Join Chat.svg)

  • Show stoppers

    • Sliders are not linked to the state
    • Moving the slider creates new options/value maps rather than updating existing ones
    • Saving a vote doesn't work
    • Saved vote is not immediately shown in the UI
    • Existing participant components don't show the participant name
    • Existing participant components are ugly
    • Vote validation (Old selection validation will not work with the new {optionId value} structure)
  • Core features

    • Displaying the aggregate voting results for the event
  • Misc

    • The Cloodle code could be shorter(?) and nicer. Make sure it never has characters that wouldn't work in the URL
    • Remove the MongoBase urls / keys from the repo, provide from property files or something
    • Replace validateur with Schema
  • Usability / Cosmetics

    • The participant name input is unintuitive - confused with the event name input
    • Don't allow submitting with zero options
    • Allow only one option

Future features

  • Allow several questions for an event (e.g. what movie and when)