Skip to content

Commit 3073dfd

Browse files
committed
Merge #157: Add Setting Up Torrust with Claude Code blog post
4210517 removed empty sections and escaped chars in code blocks in Setting Up Torrust with Claude Code blog post (Graeme Byrne) 14ffdc7 Add Setting Up Torrust with Claude Code blog post (Graeme Byrne) Pull request description: ## Add blog post: Setting Up Torrust with Claude Code This PR adds a new blog post documenting the full local development setup of the Torrust project using [Claude Code](https://www.anthropic.com/claude-code) as an AI assistant. The post walks through: * Project structure detection and environment analysis * Building and configuring the tracker, index, and GUI components * Debugging setup issues (missing DB files, port conflicts, CORS problems) * Final setup instructions and service orchestration The content is based on a real session and aims to help others replicate a clean, working environment from scratch. Also includes structured headings, a ToC, and styled code blocks for clarity. ACKs for top commit: josecelano: ACK 4210517 Tree-SHA512: 0a7f5d430a79bdb679da742027e11d0350f802bd7befeaaef12514de338fe4c18ce21e5bc40df69ade1ab4e6a5ec7bb7991964c089defeeec6f6873f751978db
2 parents 788b754 + 4210517 commit 3073dfd

File tree

6 files changed

+504
-44
lines changed

6 files changed

+504
-44
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { getMetadata } from '$lib/data/metadata';
2+
import type { PageServerLoad } from './$types';
3+
4+
export const load: PageServerLoad = async ({ url }) => {
5+
const slug = url.pathname.split('/').filter(Boolean).pop();
6+
if (!slug) throw new Error('Slug could not be determined.');
7+
8+
const metadata = await getMetadata();
9+
const currentPost = metadata.find((post) => post.slug === slug);
10+
11+
if (!currentPost) throw new Error(`Post not found: ${slug}`);
12+
13+
return { currentPost, allPosts: metadata };
14+
};

0 commit comments

Comments
 (0)