https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: f8e1765a37fc75d5eabb9c63110bd74f8a8ba4e4 authored by Josh Siegle on 25 March 2021, 00:51:33 UTC
Merge branch 'master' of https://github.com/alleninstitute/ecephys_spike_sorting into ks3
Merge branch 'master' of https://github.com/alleninstitute/ecephys_spike_sorting into ks3
Tip revision: f8e1765
buildPortalAssets.sh
#!/bin/sh
echo "\n\n[rebuildPortalAssets.sh] Downloading latest npm package from internal npm registry..\n\n"
rm -rf ./node_modules
rm -f ./static/external_assets/bundled.js
npm install aibs-portal-assets --save --registry http://dev_resource:4873
rm -f ./node_modules/aibs-portal-assets/dist/index.html
cp ./node_modules/aibs-portal-assets/dist/bundled.js ./static/external_assets/bundled.js
echo "[rebuildPortalAssets.sh] Copied the new bundle to /static/external_assets..\n"