Install Dev

These are the build instructions for Asqatasun v5 and onward.

1. Pre-requisites

Pre-requisites are:

  • Java8
  • Firefox ESR 68 (version is important)
  • GeckoDriver
  • a MariaDB container
sudo apt-get install openjdk-8-jdk
cd /opt
sudo wget
sudo tar xvf firefox-68.9.0esr.tar.bz2
sudo wget
sudo tar xvf geckodriver-v0.26.0-linux64.tar.gz
docker run --name asqatasun-db -e MYSQL_ROOT_PASSWORD=bou -e MYSQL_DATABASE=asqatasun -d -p 3306:3306 mariadb:10.2

2. Build locally

Grab source code and build locally

git clone
cd Asqatasun
# TEMPORARY NOTE: use the branch "294-..." until it is merged into "v5"
git checkout 294_Use_selenium_IDE_to_create_and_replay_scenario
mvn clean install

3. Launch application

java \
  -Dwebdriver.firefox.bin=/opt/firefox/firefox \
  -Dwebdriver.gecko.driver=/opt/geckodriver \
  -jar $PATH_TO_ASQATASUN_SOURCE_DIR/web-app/asqatasun-web-app/target/asqatasun-web-app-5.0-SNAPSHOT.war \

Once you see something like:

29-08-2020 15:33:10:852 25086 INFO  org.asqatasun.webapp.AsqatasunWebappApplication - Started AsqatasunWebappApplication in 24.548 seconds (JVM running for 25.642)

… you can browse http://localhost:5959