SOP-1 Native Deployment of Obsidian Digital Garden

Status: PRODUCTION

Host Environment: Linux Fedora 43 (Nobara)

Deployment Method: Native Node.js Build Pipeline

Objective: I Decided on Obsidian Digital Garden as my portfolio of choice as my HTML and CSS skills are... Not great. My time is better spent on the Architecture rather than fighting with <div> tags. I opted for a native installation over containerization (Docker) to reduce resources.

1. Environment Preparation

To maximize efficiency on the hardware, the environment was configured with the bare minimum dependencies required for the build engine.

Implementation:

Bash

# Update system and install Node.js environment
sudo apt update && sudo apt install nodejs npm -y

# Verify installation
node -v
npm -v

2. Local Repository Configuration

The garden was cloned and initialized locally to allow for native script execution.

  1. Clone: git clone [My Repo URL] digital-garden

  2. Initialize: cd digital-garden && npm install

  3. Environment Variables: Configured the .env file to point to the local Obsidian Vault export path.

Note: I opted for a native installation over containerization (Docker) to reduce resources. I now have faster compile times and I made the overall system less complex.

3. The Obsidian Integration

The bridge between the "Second Brain" and the "Web Instance" is handled via the Digital Garden Plugin.

4. Build & Verification

The deployment process follows a strict "Build-First" logic to ensure that only static, pre-rendered HTML is served to the Nginx bouncer.

  1. Sync: Export notes from Obsidian to the /src directory.

  2. Compile: Run npm run build.

  3. Verify: Check the /dist folder for the generated index.html.

5. Security Posture (The "A+" Bouncer)

The final step was routing this local instance through the Windows Nginx Reverse Proxy.

6. Strategic Selection of the Digital Garden Framework

While custom HTML/CSS development was an option, the Digital Garden framework was selected to prioritize Information Density and Deployment Speed over aesthetic customization.

Key Technical Advantages: