sudo apt update && sudo apt upgrade -y
sudo apt install vim
sudo apt install git
git clone https://github.com/jstrosch/subparse.git
sudo apt install npm
sudo apt install python3-pip
sudo apt install python3-tk
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
sudo apt install docker-ce -y
Check to make sure that docker process is running and enabled for boot when the system starts.
sudo systemctl status docker
To allow for the use of docker without using sudo for docker activities, add your username to the Docker Group. Note: The docker group grants privileges equivalent to the root user. For details on how this impacts security in your system, see Docker Daemon Attack Surface.. (https://docs.docker.com/engine/security/#docker-daemon-attack-surface)
sudo usermod -aG docker ${USER}
sudo vim /etc/sysctl.conf
At the bottom of the file append the line
vm.max_map_count=262144
To save the file: :wq
sudo apt install docker-compose
update pip to the newest version
python3.8 -m pip install --upgrade pip
navigate into the parser
folder and run the command below to install the requirements
python3.8 -m pip install -r requirements.txt
navigate into the viewer
folder and run the command below to install the requirements
NOTE: There will be some deprecated warnings, it is okay to ignore them
npm install .
After this the system should be ready to build the containers and run the program.
At the root of the project run the command below
docker-compose up -d --build
http://localhost:8080