How to clone git repo and run a code in repo directory

  • Thread starter Thread starter Arman777
  • Start date Start date
  • Tags Tags
    Code
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
Arman777
Insights Author
Gold Member
Messages
2,163
Reaction score
191
I have downloaded JupyterLab Neon Theme, and I can run it without a problem, but I want to change some things on the custom.css file.

However, when I change that file, I need to do something called development installation. However, I have no idea how to do it properly. I mean, what steps should I follow to do that. First, I need to clone a repo, but I don't even know how to do that. And then it says type this
Code:
npm install
jupyter labextension link .
in repo directory.

I looked to Google, and it seems that I need to download git bash? Is that what is wanted from the development installation?

Note: I am using Windows 10
 
Last edited:
on Phys.org
Are you very comfortable with the command prompt? If not I suggest that you use a GUI to help you with this.

My recommendation would be the built-in Git functionality of Visual Studio Code https://code.visualstudio.com/docs/editor/versioncontrol, or you could try GitHub Desktop.

You will also need to install Node.js which contains what you need for the npm install command to work: https://nodejs.org/ (choose the LTS version).

I also recommend you set up a directory at the root of your C:\ drive (or another drive) called C:\Projects or whatever and do anything involving Git or Node in subdirectories of this (a single Git command, or a 'npm install' can create or update hundreds or even thousands of files; this doesn't play well with whatever backup strategy you have for your Users\Arman\My Documents, and Search will slow your machine to a crawl.
 
Reply
  • Like
Likes   Reactions: Arman777
pbuk said:
Are you very comfortable with the command prompt? If not I suggest that you use a GUI to help you with this.

My recommendation would be the built-in Git functionality of Visual Studio Code https://code.visualstudio.com/docs/editor/versioncontrol, or you could try GitHub Desktop.

You will also need to install Node.js which contains what you need for the npm install command to work: https://nodejs.org/ (choose the LTS version).

I also recommend you set up a directory at the root of your C:\ drive (or another drive) called C:\Projects or whatever and do anything involving Git or Node in subdirectories of this (a single Git command, or a 'npm install' can create or update hundreds or even thousands of files; this doesn't play well with whatever backup strategy you have for your Users\Arman\My Documents, and Search will slow your machine to a crawl.
Thanks a lot. It seems that I manage to what I wanted to do without these steps. The bad parts is I hope this/these type of extensions do not contain some sort of virus...My computer gone crazy while I was working on jupyterlab and ı had to just close the computer and restart it again.

I have downloaded this thing https://github.com/timkpaine/jupyterlab_miami_nights which is just and updated version of the JupyterLab Neon Theme