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.
- Enable the HCL extension from wholroyd to edit configuration files.
- Enable the NDJSON Colorizer to better view log files.
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.exeis located. Pressing control-` (back tick) will bring up a command prompt in VSCode. sqldsc initwill create theconfigdirectory and a sampledefaults.hclandtargets.hcl
sqldsc init