This is the repository we'll be using for our SQLBits Training Day.
We recommend downloading the repo and getting the local demo environment setup on your laptop. This way you can follow along with the demos.
-
Download the repo from GitHub
# change directory to where you'd like the repo to go cd C:\GitHub\ # clone the repo from GitHub git clone https://github.com/SQLDBAWithABeard/Bitsdbatools # move into the folder cd .\Bitsdbatools\ # open VSCode code .
-
Once code opens, there should be a toast in the bottom right that suggests you 'ReOpen in Container'.
-
The first time you do this it may take a little, and you'll need an internet connection, as it'll download the container images used in our demos
-
Open a pwsh console and start your adventure... (Note it is better in a vanilla pwsh session than in the Integrated Terminal)
Only way to properly rebuild to ensure that all volumes etc are removed is to
cd to .devcontainer in a diff window
docker-compose -f "docker-compose.yml" -p "bitsdbatools_devcontainer" down