Pluto Notebooks for Julia¶
Here are instructions for running a Pluto notebook on CoCalc.
Launch a Notebook¶
Run the following in a CoCalc Linux Terminal to get the ID of the current project (or you can copy the project ID from within the URL of any file in the current project):
$ echo $COCALC_PROJECT_ID 12345678-1234-1234-1234-123456789012
Then start Julia. You have to tell Julia where to find your Pluto install first.:
export JULIA_DEPOT_PATH=$HOME/julia_depot $ julia julia> import Pluto julia> Pluto.run(launch_browser = false, require_secret_for_access = false, host="0.0.0.0")
Open a browser tab to the following, substituting your project ID where indicated:
If you get a gateway timeout the first time, hit refresh to give the notebook more time to launch.