ソースを参照

Added some convenience scripts for those using docker-machine on windows

Cameron Kline 7 年 前
コミット
286bd6ca14
2 ファイル変更6 行追加0 行削除
  1. 3 0
      tools/windows/open-in-browser.cmd
  2. 3 0
      tools/windows/setup-environment.cmd

+ 3 - 0
tools/windows/open-in-browser.cmd

@@ -0,0 +1,3 @@
+:: Opens the web app in the browser for you
+@ECHO OFF
+FOR /F "delims=" %%i IN ('docker-machine ip') DO explorer http://%%i:8080

+ 3 - 0
tools/windows/setup-environment.cmd

@@ -0,0 +1,3 @@
+:: Sets up the environment for docker
+@ECHO OFF
+@FOR /f "tokens=*" %%i IN ('docker-machine env default') DO @%%i