This process is started by the kernel hidden renderer process and communicates with the main process via IPC. Normally this is taken care of for you if you are using the desktop companion, but you may prefer to launch it manually if you run into issues or we don't support your platform.
jupyter notebook --NotebookApp.open_browser="False" --NotebookApp.allow_origin="*" --NotebookApp.token="CHOOSE A TOKEN VALUE"Alternatively you can use jupyter lab:
jupyter lab --no-browser --NotebookApp.allow_origin="*" --NotebookApp.token="CHOOSE A TOKEN VALUE"Setting the CORS Access-Control-Allow-Origin to
*is generally a bad practice for security reasons. This will allow any website or malicious agent to execute code against your machine if they know what to look for. Instead, use the following origins depending on if you are in development or production:
- Development:
http://localhost:4000- Production:
https://app.actuallycolab.orgSimilarly, you should choose a secure value for the token to make sure malicious clients can't connect to execute code
Run the following command to stop the kernel process:
jupyter notebook stopIf the kernel is running on a port other than the default 8888, you can add the port to the end of the command.
To get a list of running ports you can run the following:
jupyter notebook listyarn startTo run the production package with devtools and a visible kernel window:
yarn cross-env DEBUG_PROD=true yarn packageTo package apps for the local platform:
yarn packageTo package apps for all platforms:
yarn package:allTo notarize on macOS you need to create a file macos.cred.sh at the root of the project:
#!/bin/bash
export CI="true"
export APPLE_ID="email goes here"
export APPLE_ID_PASS="password goes here"You may need an app specific password which you can generate on the AppleID webpage.
Then run the following command:
yarn package:notarizeSupport us with monthly donations to help us continue development and keep the service free for all!
Become a sponsor and we'll add your logo to our README and link to you on our website!
@actually-colab/desktop-launcher is BSD-3-Clause licensed
