Hello everyone,
I was trying to run a simulation in a local machine to test the whole snowplow pipeline and i want to mention some changes that i made in the installation process in order to make it run.
Link: https://github.com/snowplow/avalanche
First of all, after setting up and connecting to a VM with vagrant you need to run the " 1_provision.sh" script before the 2_run.sh script.
Afterwards, the first script is not able to be run without changing some lines of code. I personaly installed java by running these commands inside the script because there was a problem with the given repo:
sudo add-apt-repository ppa:ts.sch.gr/ppa
sudo apt-get update
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
sudo apt-get install oracle-java8-installer -y
and gatling with these commands because the defined version was not found too:
sudo wget https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/2.2.1/gatling-charts-highcharts-bundle-2.2.1-bundle.zip -P $gatling_dir
sudo unzip gatling-charts-highcharts-bundle-2.2.1-bundle.zip -d $gatling_dir
Finally i also changed the 2_run.sh by changing the
src_dir
to /vagrant/src
and the final command to
$gatling_dir/gatling-charts-highcharts-bundle-2.2.1/bin/gatling.sh -sf $src_dir -rf $results_dir -m
Thank you!