Installation #
SQLDSC is designed to be used with Visual Studio Code. It provides a great file editor and log file viewer.
Install Visual Studio Code #
Install Visual Studio Code. By default, it installs for the current user which is usually what you want.
Install SQLDSC #
Download the lastest version from scaleSQL.com and extract the contents of the ZIP file.
The application is a command-line executable.
Initialize the repository #
- In VSCode, open up the directory where
sqldsc.exe
is located. Pressing control-` (back tick) will bring up a command prompt in VSCode. sqldsc init
will create theconfig
directory and a sampledefaults.hcl
andtargets.hcl
as well as a few other files
sqldsc init
Install Extensions #
The init
command creates a .vscode
directory that includes suggested extensions. If it doesn’t suggest them, plese install the following extensions:
- HCL extension from wholroyd to edit configuration files.
- NDJSON Colorizer to better view log files.
- Better TOML to edit application configuration files