Skip to main content
Use this path to start the Azure Functions host without Docker. The repository provides the npm start command, which runs func start. A successful report run still depends on portal access, storage, email, and a compatible Chromium executable.

1. Prepare the project

Clone TQKNG/automation into WSL2 or Linux and open the repository root. Run npm ci to install dependencies from package-lock.json. Use Azure Functions Core Tools v4 for the local Functions runtime.

2. Configure local services

Start Azurite or select a development Azure Storage account. Create a local local.settings.json with the settings listed in 3.1 Prerequisites and configuration. Keep real passwords and connection strings out of commits. Create the report-files Blob container before testing a full report.

3. Provide Chromium

The report service launches Chromium at ./chrome-linux/chrome relative to the project root. The chrome-linux directory is ignored by Git, and the repository contains no step that provisions this executable. Provide an approved compatible Linux browser at that path and make it executable before attempting report generation. Treat browser provisioning as an unresolved setup step until it has been tested on the supported WSL2 or Linux environment.

4. Start and check the host

Run npm start from the repository root. Confirm the Functions host starts and lists the HTTP report trigger and Durable Functions activities. A started host proves only that local startup succeeded; use 3.4 Verify the first report for the full workflow. See the package scripts and Microsoft’s Core Tools guidance.