MetaCell / nwb-explorer

NWB Explorer is a web application to visualise and analyse the content of NWB:N 2 files
Other
24 stars 16 forks source link

Pass parameter through Jupyter Hub #80

Closed filippomc closed 5 years ago

filippomc commented 5 years ago

Right now, if we open http://nwbexplorer.opensourcebrain.org?nwbfile=FILENAME we're being redirected to http://nwbexplorer.opensourcebrain.org/user/[USER_ID]/geppetto by JupyterHub, so losing the parameter.

We want to pass the parameter through JupyterHub to the application container. An environment variable would be appropriated

rodriguez-facundo commented 5 years ago

/ returns the user to the default POD with no env variable defined

/nwbfile=something will spawn a new POD and something will be available as an env var at NWBFILE.

If the user closes a tab, the POD linked to that tab will be down after the cull timeout

the path are defines as follow:

https://domain/user_id/pod_id/geppetto

I also added this to netpyne. We can spawn multiple pods under domain/source=something in case we need env variables there

This is already deployed and running.

filippomc commented 5 years ago

Missing: load the file in the frontend