https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: 7979bc30d24434ab3d67c8f624bf8485731ec582 authored by Josh Siegle on 26 February 2019, 01:42:21 UTC
Add .mat files to .gitignore
Add .mat files to .gitignore
Tip revision: 7979bc3
README.md
# aibs_sphinx
theme.conf, static, and template files for aibs-style sphinx documentation
## Portal Assets
### Automated Install
To re-build the common header/theme..
`$ cd project-root`
`$ sh ./buildPortalAssets.sh`.
This shell script will add our _internal_ npm registry and install the npm package needed. Next, it will copy the bundled javascript file into the static/external_assets folder which sphinx requires in templates/portalHeader.html.
### Manual Install
If you want to manually upgrade..
`$ cd project-root`
`$ rm -rf node_modules`
`$ npm set registry <url>`
Open package.json and increment the npm package
`$ npm install`
`$ cp node_modules/aibs-portal-assets/dist/bundled.js static/external_assets/bundled.js`.
### Notes
Eventually, this bundled javascript file will be served through a web server.