For this program to work, we require you to follow the following set up steps.
- Install NodeJS
- Navigate to the frontend directory and run
npm install
- Navigate to the backend directory and install python and the necessary python packages. See here.
If set up succeeds, please follow the guide below to run your program.
- Place program for analysis within the
/head/
directory - Ensure that front end is run by
cd frontend
from base directory and running npm start, a webserver should be created - Enter the backend directory through
cd backend
and run the following commands with your personal specificationspython main.py -s '../head/<repo>/'
for static analysispython main.py -d '../head/<repo>/' '../head/<repo>/<entryfile.py>' <command line args if applicable >
for dynamic analysis
- Following this, a static and dynamic json should be generated for front end consumption.
- Return to the front end web page and press the update button
- If you need to run some samples please refer to our link
Note: The more complex or computationally heavy your program is, the longer the analysis will take to run.