Before getting started with Yavin, make sure :
Or on the terminal, install it using:
sudo apt-get update
sudo apt-get install default-jdk
Check again: java -version
git --version
If not then install it using: sudo apt-get update
sudo apt-get install git
Check again: git --version
java -version
. If not then install it using: (Do not try to use java installation for windows)
sudo apt-get update
sudo apt-get install default-jdk
Check again: java -version
git --version
If not then install it using: sudo apt-get update
sudo apt-get install git
Check again: git --version
Once your machine has all met the prerequisites, run the following steps (On Terminal for MAC, and on Bash for Windows)to boot the example Yavin app:
git clone https://github.com/yahoo/yavin.git
cd yavin/packages/webservice
./gradlew bootRun
If local port is different then change the argument in below command. Format is -p <host port>:<container port>
docker run -p 8080:8080 docker.io/verizonmedia/yavin_demo:latest
(To stop the server at any time, type Ctrl-C in your terminal.)
Congratulations! You can now open http://localhost:8080. This will launch the Yavin application into your browser with the built in data set for Netflix and TV shows that is sourced from Kaggle data.
The video above is a recording of the steps required to boot the Yavin example app.
Info | Link |
---|---|
Git Setup | https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup |
AdoptOpenJDK | https://adoptopenjdk.net/index.html |
Yavin Repo | https://github.com/yahoo/yavin.git |
Demo Data | https://www.kaggle.com/shivamb/netflix-shows |