This setup in opinionated. Please read the disclaimer below
I wanted to set up Torus on Windows 7 and Windows 10 Home and realized it was not as simple as I thought (at least compared to Linux and Mac).
As a summary, Docker Desktop is not supported for Windows 7 and Windows 10 HOME, so you have to install Docker Toolbox
After reading and testing I got a batch script to somehow automate the process.
- Install chocolatey
- Install python3 using chocolatey
- Create a Docker forlder in the folder where the script is
- Install pip and cookiecutter
- Download DockerTools from docker.com into Docker folder
- Open DockerTools.exe for you and wait until it is installed
- Create Torus project
- Download scripts/data-science-windows-7-and-10-HOME.cmd to a folder of your choice. I recommend your Documents or Desktop folder.
- Right clic on the file and click on open as administrator
- Follow the instructions.
- Open Docker Quickstart Terminal and cd to the project folder inside folder you chose
- From Docker Quickstart Terminal run ./start.sh
- Once ready you will have a TORUS instance up and running. You can check by running
docker ps
in a cmd or terminal
[ ] Fix script for Windows 10 Pro (or not HOME) to support WLS and Docker Desktop
I publish this in case others find it useful. Use it under your own risk. This script is opionated, meaning I chose the tools and paths I liked, which may be different from those you want. You are free to modify it according to your needs.