https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: 72670e6057f64d0208e28ed268a5571e5a82026d authored by Josh Siegle on 03 May 2021, 18:22:28 UTC
Merge pull request #65 from greggheller/allen_internal_pipeline
Merge pull request #65 from greggheller/allen_internal_pipeline
Tip revision: 72670e6
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"