/ppbe

My personal website.

Primary LanguageMDX

PPbe – pascal.polleunus.be

How Was This Created?

Create Project

cd $HOME/dev
pnpm create astro@latest ./ppbe --skip-houston --template minimal --no-install --no-git
cd ppbe
git init
asdf local nodejs 20.18.0  # Vercel build fails with 22.12.0 :-/
pnpm install
gh repo create ppbe --public -h "pascal.polleunus.be" -s . --push

Options:

  • dir: ./ppbe
  • tmpl: minimal (Empty)
  • ts: No
  • use: base
  • deps: No (we’ll first define Node version)
  • git: No (because it commits immediately)

Test install: pnpm dev

See commit

Some Configuration

See commits.

Configure Vercel Deployment

Basically:

  • Add vercel adapter.
    • pnpm astro add vercel
    • Configure Astro.
  • Add configuration for Vercel:
    • Define Node version in package.json.
    • Create vercel.json to define install command.
  • Git ignore .vercel folder.
  • Install Vercel CLI.
    • brew install vercel-cli
  • Deploy to Vercel, accepting all defaults.
    • vercel deploy --yes.
    • Test: https://ppbe.vercel.app/.
  • Configure Vercel
    • Go to Vercel › Project “ppbe” › Settings › Git.
    • In “Connected Git Repository”, click on GitHub.
    • “Install the GitHub application”, click on Install.
      • Select ppo
      • Choose Only select repositories
      • Select ppbe repo
      • Click on Install
    • Click on Connect beside mysite
    • Enable Pull Request Comments & Commit Comments

See commit

Create Components

See commits.

Integrate sitemap & Tailwind

See commits.

And All The Rest…

See latest commits