Skip to content

brpaz/brunopaz.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brunopaz.dev

Source code for my personal website, brunopaz.dev. Powered by Astro and Tailwind CSS.

GitHub Workflow Status

🚀 Getting started

There are multiple ways to run this project on local environment:

Clone the repo

git clone git@github.com:brpaz/brunopaz.dev.git

Install dependencies

pnpm install

Starting the dev server

pnpm run dev

By default, this will start the application at http://localhost:4321.

Tip

You can override the default port the server listens to by specifiying PORT envrionment variable.

Running Tests

Playwright is used for E2E tests.

You can run the provided test suite using pnpm run test:e2e command.

For performance tests, Lighthouse CI is used. Run pnpm run test:lh to execute the tests.

Build for production

pnpm build

Tip

This will generate a fully static website into dist folder, which can then be deployed on any static sites hosting like Netlify or Vercel.


Envrionment variables

This website requires the following environment variables to be defined:

Name Description
PUBLIC_WEB_MONETIZATION_ID The ID of the web monetization platform
PUBLIC_SENTRY_ENABLED Flag to enable Sentry error reporting
PUBLIC_SENTRY_KEY The Sentry DSN configuration, allowing error logs to be sent to Sentry

Author

👤 Bruno Paz