Before getting started with Yavin, make sure to have:
java -version
.
Free prebuilt OpenJDK binaries are available on https://adoptopenjdk.net.
git --version
sudo apt-get update sudo apt-get install default-jdk
Make sure it is working by running
java -version
git --version
but it should come installedOnce you are all set up, run the following steps (On Terminal for macOS, and on Bash for Windows) to boot the example Yavin app:
There is currently a bug that requires your locale to be set otherwise your app may crash.
If you see an error like
Error parsing "September 9, 2019"
, runexport LANG=en_US.UTF-8
To kick of your custom data application building, you will only need the app repo.
git clone https://github.com/yavin-dev/app.git
./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.
For a more extended list of commands that can be done once you clone the repo, please check: https://github.com/yavin-dev/app#getting-started
Info | Link |
---|---|
Git Setup | https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup |
AdoptOpenJDK | https://adoptopenjdk.net/index.html |
Yavin App Repo | https://github.com/yavin-dev/app.git |
Demo Data | https://www.kaggle.com/shivamb/netflix-shows |