Skip to content

pleak-tools/pleak-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible script to build the Pleak development virtual machine

Step 1: Install Ansible here, Vagrant here and VirtualBox here

Step 2: Add your SSH key to GitHub so you can clone with SSH.

Step 3: Clone this repository with all the subrepositories using:

git clone --recurse-submodules [email protected]:pleak-tools/pleak-ansible.git

Step 4: Start your Vagrant machine by running in pleak-ansible folder:

vagrant up

This will take some time when run for the first time, as the virtual machine is downloaded and dependencies installed.

Once the machine is up frontend can be accessed on localhost:8000, backend on localhost:8080 and leaks-when analyser on: localhost:3000

Using the virtual machine

The repository's root folder is mapped to /vagrant_data folder in the virtual machine. So any change you make will be reflected in the virtual machine.

To log into the virtual machine using SSH, use the vagrant ssh command.

To stop the virtual machine, use vagrant halt

To restart the virtual machine, use vagrant reload

The virtual machine uses three servers to provide all necessary functionalities. These servers are automatically set up by services named pleak-backend, pleak-frontend and pleak-leakswhen. Use sudo systemctl stop pleak-leakswhen and sudo systemctl restart pleak-leakswhen commands to stop and restart these services or sudo systemctl status pleak-leakswhen command to check the status of the service (replace pleak-leakswhen with needed service name).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages