A user-based recommender system, based on Apache Mahout, GroupLens MovieLens dataset.
Apache Mahout, Spring Boot, Spring Web MVC, MyBatis, Spring Security, Thymeleaf, Bootstrap, ...
- JDK 1.8 or higher.
- Better with IntelliJ IDEA.
- MariaDB
brew install mariadb
(for Mac users)
- Clone from repository.
git clone https://github.com/TaoSama/recommender.git
- Then work around in root directory of the project.
cd recommender
- Suppose you have installed MariaDB.
- Start mysql service.
brew services start mariadb
(for Mac users) - Modify the
absolute-directory
to fit your computer in./src/main/resources/import_movielens_dataset.sql
- Then execute the sql.
mysql -u root < ./src/main/resources/import_movielens_dataset.sql
- Build with maven wrapper.
./mvnw clean package
- Run with Java.
java -jar ./target/recommender-0.0.1-SNAPSHOT.jar
- Open your browser to see the demo.
http://localhost:8080