- Clone the Git repository
git clone https://github.com/noahcroghan/personal-website.git- Create a file in the project root named
.dev.vars, and paste in your Last.fm API Key
LASTFM_API_KEY=your_actual_key_here- Install dependencies on your local machine:
- Install modules with the following command:
npm install- Finally, you can run the development server with the following:
npm run devTo build the website, run the following:
npm run buildThis will go through the process of building the website with Vite.
- This website is deployed on Cloudflare Pages.
- The website uses a secret key in your dashboard for Last.fm connection.
- Set the framework to none and use Vite's build instructions.
Icons are courtesy of Bootstrap Icons.