This repo hosts the code for the WASim submission to the ASE 2020 Demonstrations Track entitled, "WasmView: Visual Testing for WebAssembly Applications." The video demo below shows how the tool is used and how the output is presented.
- Docker
- Docker Compose
- Download
databasefolder anddocker-compose.ymlfile to a local directory. - Open Terminal/Powershell/etc.. and navigate to directory with downloaded folder and file. 2a. Default port (4000) and other options can be modified in the docker-compose.yml file.
- Run command
docker-compose up. - Open a browser and navigate to the url http://localhost:4000.
####Note: Chromium browser is compiled for Ubuntu 19.10, so tool will only run for this platform.
- Node.js
- Python
- MySQL
- RabbitMQ
- Git
- Clone project to a local directory.
- Download modified Chrome browser zip available here.
- Run
database/schema.sqlin MySQL instance to create necessary database and tables. - Start up RabbitMQ.
- Navigate to
Classifier Modulesdirectory. - Run
python Main.pyto start the Python listener to wait for tasks for the classifier. - Navigate to
Web_Serverdirectory. - Extract Chrome browser zip to this directory.
- In
config.json, changechromium_pathfield to point to downloaded path. (If following Step 8., field should be './chromium/chrome'.) - Run
npm run devto start the web server. - Open a browser and navigate to the url http://localhost:4000.