Artera Internal templates. Notes for the same.

This commit is contained in:
Norm Rasmussen
2023-06-01 16:54:12 -04:00
parent 04ab65043f
commit d48f951d6c
28 changed files with 1765 additions and 37 deletions

View File

@ -1,3 +1,18 @@
/* Hello, Tracy! Welcome to the Harri script!
Please save this script in a specific folder. That folder should be: ~/Documents/Harri/
Please save the file you get from Chris in that same folder!
Here's how you run it. Now that this file is open in VS Code, you're almost there!
1. Click "Terminal" at the top of your screen and click "New Terminal" (or use Control+Shift+`)
2. A little window will show up at the bottom of your screen. Make sure "Terminal" is highlighted.
3. Go to line 100 and make sure the path is the same where your files are saved (Documents/Harri). Make sure the date is accurate.
4. Click on this new terminal window and make sure you can type. Please copy and paste the following command:
" node ~/Documents/Harri/harri_csv.js", tap Enter.
5. If all goes well, you should see the script "working" by showing emails and uuids in the terminal.
*/
const fs = require("fs");
const { parse } = require("csv-parse");
const axios = require('axios');
@ -84,4 +99,4 @@ function csvReader(someArray, filePath) {
})
}
csvReader(array, "/Users/normrasmussen/Downloads/Harri Activation Report - 2023.05.31.csv")
csvReader(array, "~/Documents/Harri/Harri Activation Report - 2023.05.31.csv")