-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
100 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -481,7 +481,7 @@ | |
"href": "posts/JHub-User-Guide.html#lets-choose-jupyterlab", | ||
"title": "JHub User Instructions", | ||
"section": "Let’s choose JupyterLab", | ||
"text": "Let’s choose JupyterLab\nAny of the browser tabs with the Jupyter icon are JupyterLab.\nBe careful because you can be in RStudio with one GitHub repository and you could open the same repo in JupyterLab and easily create merge conflicts. Just be aware that they are in separate file systems so changes on RStudio will not be reflected in JupyterLab. It is not like you are on one computer.\n\nTell Git who you are\nBut I just did that with RStudio! I know but the JLab instance is in a different environment and doesn’t know what you did in the RStudio environment.\nOpen a terminal. You do this from the Launcher window. You can always open a new launcher window by clicking the little + tab\n\nNow click Terminal and run this code\ngit config --global user.name \"YourName\"\ngit config --global user.email \"[email protected]\"\ngit config --global credential.helper store\n\nCreate a PAT or use the one you created for RStudio\nMake a commit and push with the PAT as the password. Now you are set (until your PAT expires).\n\n\n\nClone a Git repo\nClick the Git icon on the left and you can clone a repo.", | ||
"text": "Let’s choose JupyterLab\nAny of the browser tabs with the Jupyter icon are JupyterLab.\nBe careful because you can be in RStudio with one GitHub repository and you could open the same repo in JupyterLab and easily create merge conflicts. Just be aware that they are in separate file systems so changes on RStudio will not be reflected in JupyterLab. It is not like you are on one computer.\n\nTell Git who you are\nBut I just did that with RStudio! I know but the JLab instance is in a different environment and doesn’t know what you did in the RStudio environment.\nOpen a terminal. You do this from the Launcher window. You can always open a new launcher window by clicking the little + tab\n\nNow click Terminal and run this code\ngit config --global user.name \"YourName\"\ngit config --global user.email \"[email protected]\"\ngit config --global credential.helper store\n\nCreate a PAT or use the one you created for RStudio\nMake a commit and push with the PAT as the password. Now you are set (until your PAT expires).\n\n\n\nClone a Git repo\nClick the Git icon on the left and you can clone a repo.\n\nYou can also clone from the terminal with\ncd ~\ngit clone <url to repo>", | ||
"crumbs": [ | ||
"JHub User Guide" | ||
] | ||
|
@@ -496,6 +496,16 @@ | |
"JHub User Guide" | ||
] | ||
}, | ||
{ | ||
"objectID": "posts/JHub-User-Guide.html#using-your-own-conda-environment", | ||
"href": "posts/JHub-User-Guide.html#using-your-own-conda-environment", | ||
"title": "JHub User Instructions", | ||
"section": "Using your own conda environment", | ||
"text": "Using your own conda environment\nThe following commands are entered in a terminal window.\nCreate a place in your home directory to keep your conda environments\ncd ~\nmkdir envs\nCreate the new environment and create a kernel for it. The environment must contain ipykernel (Python) or irkernel (R). Note use of -p instead of -n this is telling conda to create the environment in the current location and not the conda directory (which will be recreated every time the server restarts).\nconda deactivate\nconda create -p ~/envs/myenv numpy ipykernel\nconda activate myenv\npython -m ipykernel install --user --name myenv\nYou need to make sure that you run the ipykernel command when you are in the activated new environment.\nWait a few minutes and then the conda environment will appear on the launcher and in the dropdown in the kernels when you start a notebook.\nIf you want to use an environment.yaml file make sure it includes ipkernel (Python) or irkernel (R). Example:\nname: myenv\nchannels:\n - conda-forge\ndependencies:\n - numpy\n - ipykernel\nWith an environment.yaml file, the create command is\nconda create -p ~/envs/myenv -f environment.yaml\nTo remove the conda environment and kernel:\nconda deactivate\nconda remove -p ~/envs/myenv\njupyter kernelspec remove myenv\nYou can see the kernels with\njupyter kernelspec list", | ||
"crumbs": [ | ||
"JHub User Guide" | ||
] | ||
}, | ||
{ | ||
"objectID": "posts/Set-up-centos-tljh.html", | ||
"href": "posts/Set-up-centos-tljh.html", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters