#!/bin/bash
vagrant -v
BASEDIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DEMO_COMPUTING_ENV=01.linux/01.centos/01.mahout
cd $BASEDIR/computingenvironments/$DEMO_COMPUTING_ENV
echo "Working directory is" `pwd`
echo "Bringing up demo computing environment $DEMO_COMPUTING_ENV"
vagrant up
echo "Starting recommender engine ..."
vagrant ssh -c 'sudo /vagrant/algorithms/01.example/itembasedrec.sh start'
cd $BASEDIR
echo "Working directory is" `pwd`
echo "Launching idomaar ..."
exec ./idomaar.sh --new-topic --comp-env-address tcp://192.168.22.100:2760 --training-uri https://raw.githubusercontent.com/crowdrec/datasets/master/01.MovieTweetings/datasets/snapshots_10K/evaluation/training/data.dat --test-uri https://raw.githubusercontent.com/crowdrec/datasets/master/01.MovieTweetings/datasets/snapshots_10K/evaluation/test/data.dat $@
#!/bin/bash
vagrant -v
BASEDIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DEMO_COMPUTING_ENV=01.linux/01.centos/01.mahout
cd $BASEDIR/computingenvironments/$DEMO_COMPUTING_ENV
echo "Working directory is" `pwd`
echo "Bringing up demo computing environment $DEMO_COMPUTING_ENV"
vagrant up
echo "Starting recommender engine ..."
vagrant ssh -c 'sudo /vagrant/algorithms/01.example/itembasedrec.sh start'
cd $BASEDIR
echo "Working directory is" `pwd`
echo "Launching idomaar ..."
exec ./idomaar.sh --new-topic --comp-env-address tcp://192.168.22.100:2760 --training-uri https://raw.githubusercontent.com/crowdrec/datasets/master/01.MovieTweetings/datasets/snapshots_10K/evaluation/training/data.dat --test-uri https://raw.githubusercontent.com/crowdrec/datasets/master/01.MovieTweetings/datasets/snapshots_10K/evaluation/test/data.dat $@

Add newline to end of script file
Add newline to end of script file
