https://github.com/samedwardes/launch-jupyter-lab
https://github.com/samedwardes/launch-jupyter-lab
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/samedwardes/launch-jupyter-lab
- Owner: SamEdwardes
- License: gpl-3.0
- Created: 2019-10-09T02:54:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T03:19:32.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T17:50:03.719Z (over 1 year ago)
- Language: Shell
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Launch Jupyter Lab
Launches Jupyter Lab as in Chrome app mode.
## Setup
**Step 1**
the following option must exist in `jupyter_notebook_config.py`. Note that the file is saved `/Users/samedwardes/.jupyter/jupyter_notebook_config.py`
```python
c.NotebookApp.browser = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app=%s'
```
**Step 2**
Create an apple script:
```
tell application "Terminal" to do script "~/tools/launch-jupyter-lab/jupyter-lab.command"
```
Then export the script as an application.
**Step 3**
Edit the icon of the application if you wish and drag to dock.
## Reference
[https://mdyzma.github.io/2018/06/24/running-jupyter-lab-in-application-mode/](https://mdyzma.github.io/2018/06/24/running-jupyter-lab-in-application-mode/)