Skip to content

Add comprehensive deployment documentation - #961

Merged
tobie merged 3 commits into
mainfrom
claude/festive-tesla-gkdhk2
Sep 11, 2026
Merged

tobie merged 3 commits into
mainfrom
claude/festive-tesla-gkdhk2

Conversation

@tobie

@tobie tobie commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

This PR adds detailed deployment documentation for Specref and updates existing references to point to it.

Summary

Created a new DEPLOYMENT.md file that comprehensively documents how Specref's two independently deployed components (the static website on GitHub Pages and the JSON API on Clever Cloud) are deployed, configured, and how DNS is managed for the specref.org domain.

Key changes

  • New DEPLOYMENT.md: Comprehensive deployment guide covering:

    • Overview of the two deployment targets (GitHub Pages for website, Clever Cloud for API)
    • Detailed API deployment instructions including the health check endpoint configuration
    • GitHub Pages setup and Jekyll configuration details
    • DNS zone configuration at Namecheap with routing for both providers
  • Updated README.md: Replaced inline deployment instructions with a reference to the new DEPLOYMENT.md file, keeping the README focused on usage rather than deployment details

  • Updated docs/README.md: Added reference to DEPLOYMENT.md to clarify the GitHub Pages publishing setup

  • Updated index.js: Fixed comment reference from README to DEPLOYMENT.md for the health check configuration

Notable details

The documentation clarifies the independent nature of the two deployments, explains the automatic deployment from the main branch, and provides specific configuration requirements (e.g., CC_HEALTH_CHECK_PATH environment variable for Clever Cloud, custom domain settings for GitHub Pages).

https://claude.ai/code/session_014MHCXm9fYmK4oZ425YG7VZ

The README's Deployment section only covered the Clever Cloud health
check. Move it to a dedicated DEPLOYMENT.md that also describes how the
website is published from docs/ with GitHub Pages, and how the
specref.org zone points the apex and www at GitHub Pages and api at
Clever Cloud.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MHCXm9fYmK4oZ425YG7VZ
…gistrar

CORS is enabled so that anyone can consume the API as JSON from a
browser, not for the website's benefit. The DNS record values would
drift, so point at the providers' documentation instead. Note that the
domain is hosted at Namecheap.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MHCXm9fYmK4oZ425YG7VZ
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MHCXm9fYmK4oZ425YG7VZ
@tobie
tobie merged commit e5dbeb8 into main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants