Let’s go step by step
Create one project & deploy code on your GitHub
If you have already created your github repository, you can skip this step.
For a reference I am going to deploy personal portfolio website that I have created, you can refer to the same.
Now signup with your Github account and create one git repository. I’ll name it as personal-portfolio-website.
Now open your powershell/terminal and change path by your project path (
cd project_name) and enter the following commands step by step.
Note: Make sure to replay YOUR_GITHUB_USERNAME & PROJECT_NAME.
echo "# personal-portfolio-website-ct" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/YOUR_GITHUB_USERNAME/PROJECT_NAME.git git push -u origin main
Signup on vercel & deploy your website
Open up the vercel website and signup for free.
Note: You must have to signup with github to access the repositories for deployment
Once you signup, you will be redirected to vercel dashboard where you have to create/add new project and import your github repository.
Once you import your repo, you’ll be redirected to configure your project. Configure it & once done hit the deploy button.
Once you hit the deploy button it would be deployed within 2 minutes. And you will be redirected to success page.
Written by : Piyush Patil
Follow us on social media for more amazing content!