|
@@ -19,7 +19,8 @@ github:
|
|
|
tasks:
|
|
|
- init: pip3 install -e . && yarn install && yarn run build
|
|
|
# for some reason,have to re-install on start, or else it doesn't find the python package
|
|
|
- # Set no token and allow any origin, so that you can open it in a new tab.
|
|
|
+ # Set no token and allow any origin, so that you can open it in a new tab
|
|
|
+ # Disable iframe security so can load in the editor as well
|
|
|
command: >
|
|
|
pip3 install -e . &&
|
|
|
jupyter lab
|
|
@@ -30,5 +31,3 @@ tasks:
|
|
|
--LabApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}'
|
|
|
ports:
|
|
|
- port: 8888
|
|
|
- # Running it in an iframe doesn't work. Can experiment with iframe ancestors.
|
|
|
- onOpen: open-browser
|