Skip to content

duralsh/builder-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

builder-log

Personal website built with Astro.

Local development

npm ci
npm run dev

Open: http://localhost:4321

Build

npm run build

Static output is generated in dist/.

VPS deployment

This repo includes a deploy helper:

./scripts/deploy.sh --site-dir /var/www/builder-log

What it does:

  • installs dependencies (npm ci) unless skipped
  • builds Astro (npm run build)
  • syncs dist/ into your web root with rsync --delete
  • validates and reloads Nginx

Useful flags:

./scripts/deploy.sh --no-install
./scripts/deploy.sh --no-reload
./scripts/deploy.sh --site-dir /var/www/my-site

Update instructions (after new commits)

On the VPS, from repo root:

git pull
./scripts/deploy.sh --site-dir /var/www/builder-log --no-install

If dependencies changed (package.json / package-lock.json), run:

./scripts/deploy.sh --site-dir /var/www/builder-log

Nginx note

Use a server block that points to the same deploy directory:

  • Nginx root: /var/www/builder-log
  • deploy --site-dir: /var/www/builder-log

If those differ, you will likely see 404.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors