Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to run with JupyterDesktop #90

Open
0Hughman0 opened this issue Sep 18, 2023 · 1 comment
Open

Document how to run with JupyterDesktop #90

0Hughman0 opened this issue Sep 18, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@0Hughman0
Copy link
Owner

0Hughman0 commented Sep 18, 2023

It is currently possible to get JupyterDesktop to work with Cassini, but this is not documented.

JupyterDesktop cannot be launched using project.launch() therefore the server cannot be started by the same interpreter as the project object, which is how this is explicitly provided usually.

Instead, the implementation found here facilitates the use of a CASSINI_PROJECT environment variable, that points the jupyter_cassini_server to the right module and object within that module to allow the project to be imported.

This means the PYTHONPATH would also need to be patched to include the project.py directory.

This needs to be added to the documentation.

There is an issue discussing related stuff on the JupyterLab extension side here.

@0Hughman0 0Hughman0 added documentation Improvements or additions to documentation good first issue Good for newcomers labels Sep 18, 2023
@0Hughman0
Copy link
Owner Author

Oh and there'll need to be instructions on running project.setup_files() somehow, I guess recommend running from a terminal within JLDesktop?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant