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.
- Node.js >= 20 (It is recommended to use bun for faster builds and a smooth development experience)
Clone the repository and install dependencies:
git clone https://github.com/mikkelam/mikkelam.com.git
cd mikkelam.com
bun install
To start the development server with live reload:
bun run dev
This command starts a local webserver with hot-reloading.
To build the application for production:
bun run build
The built assets will be in the build
directory.
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.
To check code formatting and lint errors:
bun run lint
To automatically fix code formatting issues:
bun run format
This project is licensed under the MIT License. See the LICENSE file for details.