The second iteration of mvlanga.com built with Astro and hosted on Netlify.
You can use this code for your own website, with attribution.
I like keeping my site open source but invested a large amount of time and effort into building and designing this version of my website. Please don’t claim this work as your own.
More details about forking this repo
Yes, you can fork this repo. Please give me proper credit by linking back to mvlanga.com. Thanks!
-
Install and use the correct version of Node using NVM
nvm install
-
Install dependencies
pnpm install
-
Start the development server
pnpm run dev
I use Turso for the database as Astro suggests for Astro DB.
To connect the database for production, refer to
the official guide on configuring and connecting the database
from Astro. Additionally, the .env.example file in the root directory will guide you in setting up the environment
variables.
For hosting this hybrid Astro app, I chose Netlify.
-
Generate the hybrid production build
pnpm run build