https://github.com/NowinskiK/dbatoolsbits
https://github.com/NowinskiK/dbatoolsbits
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/NowinskiK/dbatoolsbits
- Owner: NowinskiK
- Created: 2022-03-09T09:33:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T11:44:45.000Z (about 3 years ago)
- Last Synced: 2024-05-23T00:30:49.152Z (11 months ago)
- Size: 97.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- jimsghstars - NowinskiK/dbatoolsbits - (PowerShell)
README
# Rob & Jess' Magical Bits Training Day Repository
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.
## Prerequisites:
- [Docker](https://www.docker.com/get-started)
- [git](https://git-scm.com/downloads)
- [VSCode](https://code.visualstudio.com/download)
- [`Remote Development` Extension for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)## Setup
1. Download the repo from GitHub
```PowerShell
# 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 .
```754662. Once code opens, there should be a toast in the bottom right that suggests you 'ReOpen in Container'.
1. 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
45784578. Open a pwsh console and start your adventure... (Note it is better in a vanilla pwsh session than in the Integrated Terminal)## Rebuild
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`