Home
Daily
πŸ—’οΈ FlexiBlog: Deploying to Vercel
December 21, 2025
1 min

Table Of Contents

01
🧩 1. Install All Required Tools
02
πŸ› οΈ 2. Create a Git Repository (Step-by-Step)
03
πŸš€ 3. Deploy to Vercel (Step-by-Step)
04
βš™οΈ 4. Configure Build Settings for FlexiBlog
05
πŸ” 5. Add Environment Variables
06
πŸ”„ 7. Auto-Deploy on Every Git Push

🧩 1. Install All Required Tools

Before deploying to Vercel, you need three tools:


βœ” 1.1 Install Git

Git is the tool used to upload your project to GitHub, so Vercel can deploy it.

Download Git

πŸ‘‰ https://git-scm.com/downloads

Choose your operating system and install.

During installation:

  • Keep all default settings
  • Click Next β†’ Next β†’ Install
  • Done!

Check Git installation

Open Terminal (Mac) or Command Prompt (Windows):

git --version

If you see a version number β†’ Git is installed.


πŸ› οΈ 2. Create a Git Repository (Step-by-Step)

Step 1 β€” Create a GitHub repository

Go to: πŸ‘‰ https://github.com/new

  • Name: flexiblog
  • Visibility: Private
  • DO NOT add README or .gitignore

Step 2 β€” Connect local Git to GitHub

Copy the repo URL and run:

git init
git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
git commit -m "Initial FlexiBlog setup"
git add .
git push -u origin master

Your FlexiBlog theme is now on GitHub.


πŸš€ 3. Deploy to Vercel (Step-by-Step)

Step 1 β€” Log in to Vercel

πŸ‘‰ https://vercel.com

Log in with GitHub.

Step 2 β€” Click β€œAdd New Project”

Vercel will automatically show all your GitHub repositories.

Step 3 β€” Select your FlexiBlog repository

Vercel imports the repo.


βš™οΈ 4. Configure Build Settings for FlexiBlog

You MUST update these settings because FlexiBlog is inside a /site folder.

BASE DIRECTORY

/

BUILD COMMAND

cd site && npm run build

OUTPUT DIRECTORY

site/public

πŸ” 5. Add Environment Variables

Go to:

Vercel β†’ Project β†’ Settings β†’ Environment Variables

Copy everything from:

site/.env

Also add this required variable:

GATSBY_CPU_COUNT=2

Click Save.

Then:

πŸ‘‰ Click Deploy or Redeploy.


πŸ”„ 7. Auto-Deploy on Every Git Push

Any time you update your site:

git add .
git commit -m "Update homepage"
git push

Vercel will rebuild and publish.



Tags

#FlexiBlog

Share

Related Posts

πŸ—’οΈ FlexiBlog
πŸ—’οΈ FlexiBlog: How to add Post, Images, and Videos
December 23, 2025
1 min
Β© 2025, All Rights Reserved.
Powered By

Social Media

githublinkedinyoutube