sagedemage / PersonalWebsite

Personal Website written with Astro
https://sagedemage.github.io/PersonalWebsite/
MIT License
1 stars 0 forks source link

Personal Website

GitHub Pages Status Lighthouse Production Workflow Lighthouse Development Workflow

Personal Website

About

My Personal website in Astro.

Setup

Install Node.js for Debian, and Ubuntu based distributions: Installation Instructions (DEB) - NodeSource N|Solid & Node.js Binary Distributions

Install Node.js for Windows: nodejs download page

Install the dependencies

pnpm install

Try it out

Test web app

pnpm dev

Build web app

pnpm build

Run lighthouse locally

lighthouse-ci

Run lighthouse-ci for the website

npx lhci autorun --config lighthouserc-dev.cjs

Dev Toolbar

To disable the dev toolbar for a specific project on your PC:

astro preferences disable devToolbar

To enable back the dev toolbar

astro preferences enable devToolbar

Why use pnpm?

  1. Save disk space
  2. Boost installation speed