Skip to content

Commit c38ce83

Browse files
authored
Merge pull request #423 from yoution/issue-370
Issue 370 - EMSI to TC skills mapping
2 parents 0695367 + bca7f60 commit c38ce83

File tree

5 files changed

+503
-26
lines changed

5 files changed

+503
-26
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
221221
| `npm run migrate` | Run any migration files which haven't run yet. |
222222
| `npm run migrate:undo` | Revert most recent migration. |
223223
| `npm run demo-payment-scheduler` | Create 1000 Work Periods Payment records in with status "scheduled" and various "amount" |
224+
| `npm run emsi-mapping` | mapping EMSI tags to topcoder skills |
225+
224226
225227
## Import and Export data
226228
@@ -334,3 +336,8 @@ When we add, update or delete models and/or endpoints we have to make sure that
334336
- **DB Migration**
335337
- If there are any updates in DB schemas, create a DB migration script inside `migrations` folder which would make any necessary updates to the DB schema.
336338
- Test, that when we migrate DB from the previous state using `npm run migrate`, we get exactly the same DB schema as if we create DB from scratch using command `npm run init-db force`.
339+
340+
## EMSI mapping
341+
mapping EMSI tags to topcoder skills
342+
Run `npm run emsi-mapping` to create the mapping file
343+
It will take about 15 minutes to create the mapping file `script/emsi-mapping/emsi-skils-mapping.js`

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"init-db": "node src/init-db.js",
1212
"create-index": "node scripts/es/createIndex.js",
1313
"delete-index": "node scripts/es/deleteIndex.js",
14+
"emsi-mapping": "node scripts/emsi-mapping/index.js",
1415
"index:all": "node scripts/es/reIndexAll.js",
1516
"index:jobs": "node scripts/es/reIndexJobs.js",
1617
"index:job-candidates": "node scripts/es/reIndexJobCandidates.js",
@@ -87,4 +88,4 @@
8788
"test/unit/**"
8889
]
8990
}
90-
}
91+
}

0 commit comments

Comments
 (0)