Skip to content

Latest commit

 

History

History
66 lines (37 loc) · 2 KB

install_windows.md

File metadata and controls

66 lines (37 loc) · 2 KB

Dependency Installation for Windows

Installing Python

https://www.python.org/ftp/python/3.6.6/python-3.6.6.exe

This documentation assumes an installation path of c:\Python36.

When installing Python:

  • Choose 'Customize Installation'

  • On 'Optional Features':

    Check 'pip'.

    Uncheck 'Documentation', 'tcl/tk and IDLE', 'Python test suite', 'py launcher', and 'for all users (requires elevation)'.

  • On 'Advanced Options':

    Check 'Install for all users' and 'Precompile standard library'.

    Uncheck 'Create shortcuts for installed applications', 'Add Python to environment variables', 'Download debugging symbols', and 'Download debug binaries (requires VS 2015 or later)'.

    Set an installation path of c:\Python36.

    Uncheck all options.

  • On 'Setup was successful':

    If present, choose 'Disable path length limit'.

Creating a Virtual Environment and Installing Dependencies

Create the virtual environment. From the working directory of our project (e.g., c:\devel\docker-jekyll-site):

c:\Python36/python.exe -m venv env36

This will create a directory for the virtual environment (e.g., c:\devel\docker-jekyll-site/env36/).

Next activate that virtual environment and install our Python dependencies:

env36/Scripts/activate.bat
pip install -r requirements3.txt

Installing Docker Toolbox

https://github.com/docker/toolbox/releases/download/v18.06.1-ce/DockerToolbox-18.06.1-ce.exe

This installer should be run by right-clicking and selecting 'Run as administrator'. This is required even when using an Administrator account. Otherwise, VirtualBox can fail to create the host-only network required for VirtualBox and Docker Toolbox.

When installing Docker Toolbox:

  • On 'Select Destination Location':

    Set an installation path of c:\Program Files\Docker Toolbox.

  • On 'Select Components':

    Uncheck 'Kitematic for Windows'.