-
Set API key (
omdb.api.key
) in:./src/main/resources/config/application.properties
-
Set path to the fuzzy logic controller (
fuzzy.logic.controller.path
) in:./src/main/resources/config/application.properties
-
Personalize your questions in:
./src/main/resources/import.sql
Parameters:
Name Meaning description Description of the question. base_movie_variable Described value from IMDB (one of: RUN_TIME, RELEASED, TOTAL_SEASONS, IMDB_VOTES, METASCORE, QUANTITY_LANGUAGES, QUANTITY_COUNTRIES). variable_name Name in the fuzzy logic controller. start_variable Beginning of range for variable. end_variable End of range for variable. good_value_range User response range (+/- good_value_range). -
Personalize movie list:
./src/main/resources/import.sql
- Set API key (details above).
- Build and run the application:
mvn install
cd target
java -jar movieSelector-1.0-SNAPSHOT.jar
or
docker build --tag mikbac/movie_selector:1.0 -f Dockerfile .
docker container run -p 8080:8080 --ip 0.0.0.0 --name movie_selector mikbac/movie_selector:1.0
- Open the browser and hit
http://localhost:8080/
.
-
jFuzzyLogic - Due to the use of the latest version of the library, the jar file is attached to the project (in Maven repository the library is out of date).