Skip to content

my website and blog - built with svelte kit and mdsvex. Hosted on github pages

License

Notifications You must be signed in to change notification settings

mikkelam/mikkelam.com

Repository files navigation

Personal website - mikkelam.com

My personal website/blog built with SvelteKit. Blog posts are written using mdsvex. The site is hosted on GitHub Pages using SvelteKit's static site generation capabilities.

Requirements

  • Node.js >= 20 (It is recommended to use bun for faster builds and a smooth development experience)

Installation

Clone the repository and install dependencies:

git clone https://github.com/mikkelam/mikkelam.com.git
cd mikkelam.com
bun install

Running in Development Mode

To start the development server with live reload:

bun run dev

This command starts a local webserver with hot-reloading.

Building Static Web App

To build the application for production:

bun run build

The built assets will be in the build directory.

Deploying

To deploy the site to GitHub Pages, use the gh-pages package:

bun run publish

This command builds the application and pushes the static assets to the gh-pages branch.

Linting and Formatting

To check code formatting and lint errors:

bun run lint

To automatically fix code formatting issues:

bun run format

License

This project is licensed under the MIT License. See the LICENSE file for details.