Skip to content

Issue 370 #423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2021
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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
| `npm run migrate` | Run any migration files which haven't run yet. |
| `npm run migrate:undo` | Revert most recent migration. |
| `npm run demo-payment-scheduler` | Create 1000 Work Periods Payment records in with status "scheduled" and various "amount" |
| `npm run emsi-mapping` | mapping EMSI tags to topcoder skills |


## Import and Export data

Expand Down Expand Up @@ -334,3 +336,8 @@ When we add, update or delete models and/or endpoints we have to make sure that
- **DB Migration**
- 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.
- 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`.

## EMSI mapping
mapping EMSI tags to topcoder skills
Run `npm run emsi-mapping` to create the mapping file
It will take about 15 minutes to create the mapping file `script/emsi-mapping/emsi-skils-mapping.js`
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"init-db": "node src/init-db.js",
"create-index": "node scripts/es/createIndex.js",
"delete-index": "node scripts/es/deleteIndex.js",
"emsi-mapping": "node scripts/emsi-mapping/index.js",
"index:all": "node scripts/es/reIndexAll.js",
"index:jobs": "node scripts/es/reIndexJobs.js",
"index:job-candidates": "node scripts/es/reIndexJobCandidates.js",
Expand Down Expand Up @@ -87,4 +88,4 @@
"test/unit/**"
]
}
}
}
Loading