Changes between Version 1 and Version 2 of IstruzioniEiffel


Ignore:
Timestamp:
Oct 18, 2017, 12:11:15 PM (7 years ago)
Author:
Mattia Monga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IstruzioniEiffel

    v1 v2  
    1515 3. `docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/home/eiffel mmonga/eiffel`
    1616
     17=== In ambiente Mac OS ===
    1718
     19 3. occorre avere installato un server X (p.es. [https://www.xquartz.org/ XQuartz])
     20 4.
    1821
     22{{{#!bash
     23# il comando seguente serve per conoscere il numero IP della prima interfaccia
     24export MYIP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
     25export DISPLAY=$MYIP:0
     26xhost + $MYIP
     27docker run -ti --rm -e DISPLAY=$DISPLAY -v $(pwd):/home/eiffel mmonga/eiffel
     28}}}
     29