Git Setup documentation
1. Download Git bash : https://git-scm.com/downloads
2. Make the account on GitHub by using mail:
• Go to this link- https://github.com/
• You will get this page:
• Give your email and click on sign up
• Click on continue
• After completion you will get this page:
• Open your git bash:
• Right one by one commands on git bash which are given below:
1. git config -- global user.name “your username”
2. git config -- global user.name →(for check your username)
3. git config -- global user.email “your company mail”
4. git config -- global user.email →(check your email)
5. ssh-keygen -t ed25519 -C [email protected]
Note:- after this command just click on enter don’t give any
parameters
Note:- In git bash for paste give command(shift+insert)
6. eval "$(ssh-agent -s)"
7. ssh-add ~/.ssh/id_ed25519
8. eval “$(ssh-agent -s)”
9. ssh-add ~/ .ssh/id_ed25519
10.clip < ~/.ssh/id_ed25519.pub
11.cat < ~/.ssh/id_ed25519.pub
12.After 11th command you will get one key you have to copy
that line which starts with ssh and ends with your email (for
copy in git bash command(ctrl+insert)
This is sample :
• After 12th steps go to your github account :
• Go to the settings:
• Go to SSH and GPG keys
• Click on New ssh key (that green button)
• After all the steps you will get this page:
• Congrats your ssh key is generated
• Now you to again your git bash and give this command:
ssh -T
[email protected]• Then choose yes option
• Click on generating a new SSH key and add agent
➢ How to clone the git repo:
➢ Make new folder and open it in vs code
➢ Download vs code → https://code.visualstudio.com/download
➢ Click on left side:
➢ Click right button of mouse:
➢ Click on Open in Integrated Terminal
➢ Copy the repository from github which one you want to clone:
➢ I copied
[email protected]:dachrs/nlp-scripts.git
➢ Go to vs code and type command :
git clone (
[email protected]:dachrs/nlp-scripts.git ) “give your repo”
• Press enter:
• Successfully cloned repository in your local system
1. How to create virtual environment in python :
2. First download python: https://www.python.org/downloads/
3. Open project folder in vscode:
4. Give one command : ctrl+shift+p
5. Type in box “select interpreter”
6. Select you interpreter
7. Go to new terminal:
8. Give your dir/path where you want to make virtual environment
9. Give command →
pip install virtualenv
virtualenv “your environment name”
Note:- for activate your environment :
Your_envirnoment_name/Scripts/activate
10.Congrats your virtual environment is created
Errors solutions for vs code:
• Commands are not working on vscode :
• Open your windows powershell
• Run as administrator
• Run this command : Set-ExecutionPolicy Unrestricted
• Type Y
• Press enter and then close it
• And again use vscode and run your commands
Pip not reconized error:
• Uninstall python
• Download again and click add to path option while installing python setup
• And and run pip command
Dependancies error:
• Find package only for window and then install it(if you have
windows)