- Add an API Key and production API URL in a
.env
file.
API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
API_URL=https://api.opencollective.com
-
Download the CSV file
-
Launch the dry run with:
node github-sponsors/csv-import.js {CSV_FILE}
If you see:
- "Detected a new Collective ...", it's recommended to quickly review it and add it to the
csv-import-mapping.json
file. - "Error finding a matching Collective for GitHub Organization ...", you need to investigate and add an entry in the
csv-import-mapping.json
file.
- Happy with the dry run?
node github-sponsors/csv-import.js {CSV_FILE} --run