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

  • Thread starter Thread starter Arman777
  • Start date Start date
  • Tags Tags
    Code
AI Thread Summary
The discussion revolves around customizing the JupyterLab Neon Theme by modifying the custom.css file, which requires a development installation. To achieve this, the user needs to clone a repository and execute specific commands, including "npm install" and "jupyter labextension link .". The conversation highlights the necessity of installing Git Bash for command line operations and suggests using Visual Studio Code or GitHub Desktop for a more user-friendly experience. Additionally, Node.js must be installed to run the npm command. It is recommended to create a dedicated directory for projects to avoid clutter and potential issues with file management. The user expresses concern about potential viruses from extensions after experiencing computer problems while working on JupyterLab. They also mention downloading an updated version of the theme from GitHub.
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:
Technology news 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.
 
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
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top