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 . --pushOptions:
- 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
See commits.
Basically:
- Add
verceladapter.pnpm astro add vercel- Configure Astro.
- Add configuration for Vercel:
- Define Node version in
package.json. - Create
vercel.jsonto define install command.
- Define Node version in
- Git ignore
.vercelfolder. - 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
ppberepo - Click on
Install
- Select
- Click on
Connectbesidemysite - Enable
Pull Request Comments&Commit Comments
See commit
See commits.
See commits.
See latest commits