A simple blog, with pre-rendered markdown posts using MDSvex, and a convenient server side API for passing post data, powered by create-svelte
.
You can view the finished production version of this site at https://blog.rdmusic.net
You must use bun
to run this project. The development, build, and preview commands are all written to run vite
on top of bun
's engine.
Once you've cloned the project and installed dependencies with bun install
, start a development server:
bun dev
To create a production version of the blog:
bun run build
You can preview the production build with bun run preview
.
To deploy your app, you may need to install an adapter for your target environment. I use static output and deploy to Cloudflare Pages using '@sveltejs/adapter-cloudflare'
If you are using the Cloudflare Pages adapter as this project is initially built with, and have configured your wrangler.toml
, simply run:
bun run deploy