Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Azure Batch JavaScript sample

The set of scripts provided in the GettingStarted folder is a sample of creating Azure Batch jobs using the JavaScript SDK.

Please refer to a step by step explanation of these scripts at the Azure documentation link.

You will need to fill in Azure Batch Account details and the resource file SAS URIs

var accountName = '<azure-batch-account-name>';
var accountKey = '<account-key-downloaded>';
var accountUrl = '<account-url>';
var sh_url = '<Shell-script-SAS-URI>';
var scriptURI = '<Python-script-SAS-URI'>;

Also modify the processcsv.py with your storage account credentials that contain the csv files for conversion.

After the above steps are complete, you can run the sample as follows (requires Node.js v14 or later):

node sample