Browse Source

Merge pull request #2143 from aanand/windows-preparation-instructions

Add preparation instructions to Windows build script
Daniel Nephin 10 years ago
parent
commit
13d5efcd8b
1 changed files with 30 additions and 0 deletions
  1. 30 0
      script/build-windows.ps1

+ 30 - 0
script/build-windows.ps1

@@ -1,3 +1,33 @@
+# Builds the Windows binary.
+#
+# From a fresh 64-bit Windows 10 install, prepare the system as follows:
+#
+# 1. Install Git:
+#
+#        http://git-scm.com/download/win
+#
+# 2. Install Python 2.7.10:
+#
+#        https://www.python.org/downloads/
+#
+# 3. Append ";C:\Python27;C:\Python27\Scripts" to the "Path" environment variable:
+#
+#        https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sysdm_advancd_environmnt_addchange_variable.mspx?mfr=true
+#
+# 4. In Powershell, run the following commands:
+#
+#        $ pip install virtualenv
+#        $ Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
+#
+# 5. Clone the repository:
+#
+#        $ git clone https://github.com/docker/compose.git
+#        $ cd compose
+#
+# 6. Build the binary:
+#
+#        .\script\build-windows.ps1
+
 $ErrorActionPreference = "Stop"
 Set-PSDebug -trace 1