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
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
![Gitter](https://badges.gitter.im/Join Chat.svg)
-
Show stoppers
Sliders are not linked to the stateMoving the slider creates new options/value maps rather than updating existing onesSaving a vote doesn't workSaved vote is not immediately shown in the UIExisting 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
- Allow several questions for an event (e.g. what movie and when)