Installation

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 #

  1. Install Visual Studio Code. By default, it installs for the current user which is usually what you want.
  2. Enable the HCL extension from wholroyd to edit configuration files.
  3. 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 #

  1. In VSCode, open up the directory where sqldsc.exe is located. Pressing control-` (back tick) will bring up a command prompt in VSCode.
  2. sqldsc init will create the config directory and a sample defaults.hcl and targets.hcl
sqldsc init