https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: f21ecbacf999789d0afa17a44b8d6a492a66cf09 authored by Josh Siegle on 27 August 2019, 23:28:41 UTC
Change to version 0.2
Change to version 0.2
Tip revision: f21ecba
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"