Skip to content

Latest commit

 

History

History

basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

To run:

  1. Download and start MADT
cd ~
git clone --recursive https://github.com/dltcspbu/madt/
mkdir ~/madt/labs && export MADT_LABS_DIR=$HOME/madt/labs
mkdir ~/madt/sockets && export MADT_LABS_SOCKETS_DIR=$HOME/madt/sockets

cd madt
sudo pip3 install -r ./requirements.txt
sudo make && sudo make install

sudo -HE env PYTHONPATH=$HOME/madt:$PYTHONPATH SSH_PWD=demo python3 madt_ui/main.py 80  
  1. Build images and start the lab
#open new terminal window
cd ~/madt
cd ./tutorials/basic
docker pull inutano/wget
docker build madt/nginx .
python3 ./lab.py
  1. Open 127.0.0.1:80
  2. login as demo:demo
  3. Open lab image
  4. Observe graph image2