You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The set of scripts provided in the [GettingStarted](https://github.com/Azure/azure-batch-samples/tree/master/Node.js/GettingStarted) folder is a sample of creating Azure Batch jobs using the Node.js SDK.
1
+
# Azure Batch JavaScript sample
2
+
The set of scripts provided in the [GettingStarted](https://github.com/Azure/azure-batch-samples/tree/master/JavaScript/GettingStarted) folder is a sample of creating Azure Batch jobs using the JavaScript SDK.
3
3
4
4
Please refer to a step by step explanation of these scripts at the [Azure documentation link](https://docs.microsoft.com/en-us/azure/batch/batch-nodejs-get-started).
5
5
6
6
You will need to fill in Azure Batch Account details and the resource file SAS URIs
7
7
8
-
// Setting up variables specific to Batch & storage account
8
+
```// Setting up variables specific to Batch & storage account
9
9
var accountName = '<azure-batch-account-name>';
10
10
var accountKey = '<account-key-downloaded>';
11
11
var accountUrl = '<account-url>';
12
12
var sh_url = '<Shell-script-SAS-URI>';
13
13
var scriptURI = '<Python-script-SAS-URI'>;
14
+
```
14
15
15
-
Also modify the [processcsv.py](https://github.com/Azure/azure-batch-samples/blob/master/Node.js/GettingStarted/processcsv.py) with your storage account credentials that contain the csv files for conversion.
16
+
Also modify the [processcsv.py](https://github.com/Azure/azure-batch-samples/blob/master/Node.js/GettingStarted/processcsv.py) with your storage account credentials that contain the csv files for conversion.
17
+
18
+
After the above steps are complete, you can run the sample as follows (requires [Node.js](https://nodejs.org/en/) v14 or later):
0 commit comments