To get a new blog instance running locally, clone the repository, install dependencies, and start the development server. The dev server supports fast auto-refreshing for component and style changes.
Setup Steps
- Clone or download the repository.
- Install dependencies and run the dev server using the following commands:
npx degit https://github.com/josh-collinsworth/sveltekit-blog-starter my-sveltekit-blog
cd my-sveltekit-blog
npm install
npm run dev -- --open
Initial Configuration
Once the server is running, you must perform these tasks to make the site your own:
- Update
src/lib/config.js with your site's domain and preferences. - Add your Markdown posts to
src/lib/posts. - (Optional) Customize styles in
static/css.
# Quick Start
npx degit https://github.com/josh-collinsworth/sveltekit-blog-starter my-sveltekit-blog
cd my-sveltekit-blog
npm install
npm run dev -- --open