principle_and_practices
Starting and creating website, by starting the Website we need differnet tools for starting the process, there's code editor which helps us to write codes that makes our website.
the code editor i have used is studio code
Visual studio Code
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux.
It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions
for other languages and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET).
first step to get to start using visual studio code is to download here.
after downloading the software you install it after it is already installed and launched it looks like this.
before starting coding i have installed an extension in visual studio code that helps to view page live as you make changes in real time view
this extension is called "live preview" here is the following steps to install it.
-navigate to run tab choose down install additional debuggers and search for live preview.
after installing the extension press F1 for shortcut to launch live preview choose the live preview(internal browser).
then after it will open new window at right side.
Git allows users to track code changes and manage their project using simple commands
the base of Git is repository. used to contain a project. a repository can be stored locally or on a website, such as gitlab.
Git allow users to store several different repositories and track each one independetly.
git config --global user.name "USERNAME"
type the following command to set email address git config --global user.email "EMAIL@sample.com"
if you want to check the information you entered type the following commandgit config --global --list
ssh-keygen -t rsa -C "my.email@example.com" -b 4096
this will generates ssh key, and after this i needed to copy the generatated key to simply copy the key type the following commandxclip -sel clip < ~/.ssh/id_rsa.pu
after trying this command the ssh key will be copied
git init
git add "file"
git commit -m "comment"
git push
useful links