mingfang/docker-predictionio

error ./run.sh: 7: ./run.sh: /bin/pio: not found : see gist file

Closed this issue · 7 comments

I fixed the run.sh script.
Can you pull and try again?

the problem is there is no /bin/pio (probably it is not being installed in /bin/
http://gist.github.com/steve21124/d76e03bcd4eab121e3ee

fyi: I use kitematic

can you please send me the output of this command? cat /quickstartapp/run.sh

root@testpredict:~# cat /quickstartapp/run.sh
#!/bin/sh

while ! nc -vz localhost 7070;do sleep 1; done

set PIO_HOME=/PredictionIo

cd /quickstartapp
python import.py
${PIO_HOME}/bin/pio instance io.prediction.engines.itemrank
cd io.prediction.engines.itemrank
${PIO_HOME}/bin/pio register
${PIO_HOME}/bin/pio train
${PIO_HOME}/bin/pio deploy

root@testpredict:~#

I am using OSX 10.8.5

that’s strange. everything looks fine. anyway I made a small a small change. can you pull and try again?

On Oct 1, 2014, at 4:21 PM, Steve notifications@github.com wrote:

root@testpredict:~# cat /quickstartapp/run.sh
#!/bin/sh

while ! nc -vz localhost 7070;do sleep 1; done

set PIO_HOME=/PredictionIo

cd /quickstartapp
python import.py
${PIO_HOME}/bin/pio instance io.prediction.engines.itemrank
cd io.prediction.engines.itemrank
${PIO_HOME}/bin/pio register
${PIO_HOME}/bin/pio train
${PIO_HOME}/bin/pio deploy

root@testpredict:~#


Reply to this email directly or view it on GitHub #4 (comment).

Thank you. your last fix solve it. now it did not have problem.