Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ Sub item is in the same line as the unordered main item.
| FIREBASE_SERVICE_ACC | The project's private key file contents, condensed into one line and minus all whitespace characters.<br><br>The service account JSON file is generated from the Firebase project's **Project Settings** page, on **Project Settings** -> **Service accounts** -> **Generate new private key** |
| FIREBASE_PRIVATE_KEY | The `private_key` entry from the service account JSON file.<br> <blockquote>**NOTE:** Take note to make sure that the value starts and ends with a double-quote on WINDOWS OS localhost. Some systems may or may not require the double-quotes (i.e., Ubuntu).</blockquote> |

4. See the excel parser script's example usage on<br>
`/src/01_recommendations/index.js`

## Available scripts

### `npm run lint`
Expand Down
8 changes: 4 additions & 4 deletions src/01_recommendations/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require('dotenv').config()
const path = require('path')
const SeasonalTab = require('./classes/seasonaltab')
const TendayTab = require('./classes/tendaytab')
const SpecialTab = require('./classes/specialtab')
const SeasonalTab = require('./src/classes/seasonaltab')
const TendayTab = require('./src/classes/tendaytab')
const SpecialTab = require('./src/classes/specialtab')
const { uploadToFirestore } = require('../lib/uploadtofirestore')
const { extractExcelData } = require('./extract')
const { extractExcelData } = require('./src/extract')

const main = async () => {
const data = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const XLSXWrapper = require('../lib/xlsxwrapper')
const XLSXWrapper = require('../../lib/xlsxwrapper')

/**
* Extract normalized recommendations data and other metadata from an excel sheet tab
Expand Down