Skip to content
Snippets Groups Projects
Commit 18d6630f authored by Evan Eames's avatar Evan Eames Committed by Ugo Albanese
Browse files

Merged in NRRPLT-7271-choose-and-view-brain-type (pull request #89)

[NRRPLT-7271] Add update_storage script to add new template models to the Models Database without running update_nrp.

Approved-by: Ugo Albanese
parent 9d8a27c8
No related branches found
No related tags found
No related merge requests found
...@@ -101,4 +101,4 @@ $HBP/user-scripts/running_mode "2" ...@@ -101,4 +101,4 @@ $HBP/user-scripts/running_mode "2"
echo "DONE" echo "DONE"
echo echo
echo "Warning: your running mode has been switched to full local (2)." echo "Warning: your running mode has been switched to full local (2)."
echo " you might want to run running_mode to change it." echo " you might want to run running_mode to change it."
\ No newline at end of file
#!/bin/bash
# This script updates the user storage and the models database (to be run when a new template model has been added).
$HBP/Models/copy-to-storage.sh || { echo ERROR; exit 1; }
cd $HBP/nrpBackendProxy
npm run update_template_models || { echo ERROR; exit 1; } # to be run after $HBP/Models/copy-to-storage.sh
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment