zeus 3 years ago
parent
commit
3eb7f8127e
  1. 3
      install/usr/share/swarmlab.io/sec/project/bin/start-gui.sh
  2. 2
      install/usr/share/swarmlab.io/sec/run-gui.sh

3
install/usr/share/swarmlab.io/sec/project/bin/start-gui.sh

@ -0,0 +1,3 @@
#!/bin/bash
sudo -H -u node bash -c 'cd /home/node/twint-explorer; && npm start .'

2
install/usr/share/swarmlab.io/sec/run-gui.sh

@ -0,0 +1,2 @@
xhost +local:docker
docker exec -e DISPLAY=$DISPLAY microservice-firefox_masterservice_1 /bin/sh -c "npm start ."
Loading…
Cancel
Save