This allows the user to install everything in one click. Most of the code I've written is in line 33 to 44 and the rest I found on stack overflow.
The Process from the beginning is that it asks the user for admin (UAC).
Install the Chocolatey package manager.
Refresh the environment so chocolatey can be used
Use chocolatey to install git
refresh again
use git to download the package
copies .env.sample to .env
open .env with notepad
Install python 3.10 via Chocolatey (In the background)
Install the package requirements via python while simultaneously downloading docker via chocolatey
After it finishes it'll ask the user to restart for docker to be installed
I know you can download multiple packages at a time with chocolatey but I wanted to get git first and download the repository to open up the .env file for the user so the other downloads can happen in the background while they're configuring the file.
This script should be fine as long as the instructions doesn't change too much and if the python version used is still going to be at 3.10
Also added start scripts in the scr folder to launch the python code in 1 click. They should work regardless if the user has multiple python versions as it only uses 3.10
This allows the user to install everything in one click. Most of the code I've written is in line 33 to 44 and the rest I found on stack overflow.
I know you can download multiple packages at a time with chocolatey but I wanted to get git first and download the repository to open up the .env file for the user so the other downloads can happen in the background while they're configuring the file.
This script should be fine as long as the instructions doesn't change too much and if the python version used is still going to be at 3.10
Also added start scripts in the scr folder to launch the python code in 1 click. They should work regardless if the user has multiple python versions as it only uses 3.10