trackit / trackit2-home

TrackIt helps you to optimize your AWS cloud
https://trackit.io/
Apache License 2.0
48 stars 8 forks source link

Add env var host and OSX handling #13

Closed thibautcornolti closed 7 years ago

lfrancois commented 7 years ago

We support only OSX and Linux for now. We cover most of the developers with these 2 OS.

On Fri, Sep 22, 2017 at 8:33 AM, Victor Schubert notifications@github.com wrote:

@schubev commented on this pull request.

In run.sh https://github.com/trackit/trackit/pull/13#discussion_r140525193:

  • HOST=$($DOCKER_MACHINE ip) +}
  • +function linux {

  • HOSTNAME=$(which hostname)
  • HOST=$($HOSTNAME -i) +}
  • +function not_supported {

  • echo "Your OS is not supported yet." +}
  • +case "$OSTYPE" in

  • darwin*) osx ;;
  • linux*) linux ;;
  • *) not_supported ;;

Should we perhaps support Windows ? Does Docker Compose work there  ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trackit/trackit/pull/13#pullrequestreview-64615439, or mute the thread https://github.com/notifications/unsubscribe-auth/AIaG5lH3y7zv1qYUq9O-W_b7G-InnIBaks5sk9NRgaJpZM4Pgm99 .

-- Ludovic Francois +1-747-220-1444 www.trackit.io