Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.71 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.71 KB

sirlisko.com

Netlify Status

https://sirlisko.com - personal (and experimental) website.

I tried to keep this website as a proof of concept of the technologies I am currently working with or to just trying out new stuff :)


The Website is built using Astro.

In order to have the Website up and running NodeJs is mandatory, it can be installed using nvm, a handy NodeJs binary manager, or using the official installer present in the NodeJs website (https://nodejs.org/download/).

Install the dependencies

this project is using pnpm as package manager but it should work with npm as well

Once NodeJs is installed, its package manager NPM will be available, and you will be able to install pnpm.

npm install -g pnpm

Then all you need to do is run in the main directory of the project the following command.

pnpm install --production

This will install all the software needed in order to build and run the Website.

Build the Website

pnpm run build

Work with the Website (Develop)

The easier way to build the Website in Develop mode is with:

pnpm start

In addition to the build, this command is also watching the file system looking for files change. Once one of the resources changes the relative assets are immediately recompiled.

Generate the resume in pdf format

pnpm start
pnpx electron-pdf http://localhost:4321/resume resume.pdf