Run PredictionIO inside Docker
- Run
build
to build the image - Run
shell
to start the container - Once inside the container, run
runsvdir-start&
to start everything - The Dashboard is available on port 9000
- Go to quickstartapp directory
cd /quickstartapp
- Build and Train Engine
./run.sh
- Deploy Engine
cd MyRecommendation && pio deploy --ip 0.0.0.0&
- Your Engine will now listen on port 8000
cd /other-engines/ur/
./examples/integration-test
pio deploy
./examples/multi-query-handmade.sh
curl -H "Content-Type: application/json" -d '
{
"user": "u1"
}' http://localhost:8000/queries.json