Changes between Version 5 and Version 6 of IstruzioniEiffel


Ignore:
Timestamp:
Dec 14, 2019, 2:44:55 PM (4 years ago)
Author:
Mattia Monga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IstruzioniEiffel

    v5 v6  
    1717=== In ambiente Mac OS ===
    1818
    19  3. occorre avere installato un server X (p.es. [https://www.xquartz.org/ XQuartz])
    20  4.
     19
     20 3. se non già presente, installare docker :  `brew cask install docker`
     21 4. se non già presente, installare xquartz: `brew cask install xquartz`
     22 5. cambiare preferenze xquartz permettendo le connessioni da client network, chiuderlo e farlo ripartire
     23 6. `xhost +` dall'xterm che appare al lancio di xquartz
    2124
    2225{{{#!bash
    23 # il comando seguente serve per conoscere il numero IP della prima interfaccia
    24 export MYIP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
    25 export DISPLAY=$MYIP:0
    26 xhost + $MYIP
     26export DISPLAY=host.docker.internal:0
    2727docker run -ti --rm -e DISPLAY=$DISPLAY -v $(pwd):/home/eiffel mmonga/eiffel
    2828}}}