nci-hcmi-catalog / portal

HCMI Searchable Catalog Portal
https://hcmi-searchable-catalog.nci.nih.gov/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

✨ Add Proteomics to Molecular Characterizations #1070

Closed mistryrn closed 7 months ago

mistryrn commented 7 months ago

🚨 DEPLOY INSTRUCTIONS 🚨

  1. Deploy the new tag through Jenkins
  2. Run the 20240424152528-update-dictionary-molecular-characterizations-add-proteomics and 20240424152546-update-dictionaryDraft-molecular-characterizations-add-proteomics migrations:
    cd cms/variant-migrations
    ./../node_modules/.bin/migrate-mongo up -f migrate-mongo-config.js
  3. Restart the cms service
  4. Run the republish script
    ENV={env} npm run republish
justincorrigible commented 7 months ago

Great PR, as usual! first thought that comes to mind on how to make it even better: ./../node_modules/.bin/migrate-mongo up -f migrate-mongo-config.jscould be abstracted into an npm script. e.g. npm run migrations.

edit: even better, could be added as a step of the "republish" (npm run migrations && ...)