Setting Up Development Environment
Setup
This is my personal website made with quarto and github pages.
My learnings/tasks while working on it:
For Windows:-
- Install VS-Code
- Install Git and connect/configure with GitHub along with VS-Code
- Install Quarto in the system and Quarto extension in VS-Code
- Create a new repository in GitHub
- Create a new project in Quarto
- Create proper “_quarto.yml”, “index.qmd” files
- Render the files and push to GitHub
- Configure GitHub pages to publish the website
For Linux:-
- Install “Windows Subsystem for Linux” (WSL) from Microsoft Store
- Install “Ubuntu” as distributor
- If “WslRegisterDistribution failed with error: 0x80370114” error comes, refer https://www.cyberithub.com/solved-wslregisterdistribution-failed-with-error-0x80370114
- Install Quarto in the Linux system and Quarto extension in VS-Code
- Run command
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.340/quarto-1.3.340-linux-amd64.deb
in the Linux command Line Interface (CLI) - Run command
sudo dpkg -i quarto-1.3.340-linux-amd64.deb
in the Linux Command Line Interface (CLI) - Run command
sudo apt-get install -f
in the Linux command Line Interface (CLI) - Run command
quarto
in the Linux command Line Interface (CLI) to check if Quarto is installed properly - Install Anaconda in the Linux system
- Run command
wget https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh
in the Linux command Line Interface (CLI) - Run command
bash Anaconda3-2023.03-1-Linux-x86_64.sh
in the Linux command Line Interface (CLI) - Run command
ipython
in the Linux command Line Interface (CLI) to check if Anaconda is installed properly - Connect/configure with GitHub
- Go to https://github.com/settings/tokens to generate a new token and save it. It’ll be useful later
- Clone the repository
- Run command
git clone https://github.com/Khush24Shah/Khush24Shah.github.io
in the Linux command Line Interface (CLI) - Enter “username” and the “token” generated in the previous step
- Done