Setting Up Development Environment
Setup
For Mac
- Install VS-Code from here.
- Set up VS-Code according to your need.
- Install
Quarto
extension in VS-Code. - Download Quarto from here.
- Verify the download installer by running
ls -l ~/Downloads/quarto*
in terminal. - Enter
sudo installer -pkg ~/Downloads/quarto
in terminal and pressTAB
. Then write-target /
then pressEnter
/Return
. - To verify the installation, run
quarto
in the terminal and check for any error. - Download and install Anaconda from here.
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 to this
- 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