DD

ddev/ddev.com

Deployment & DevOps

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 품질 70 트렌드 30Apache-2.0

Astro source code used to generate the static, public ddev.com site.

개요

The static site for DDEV, built with Astro and Tailwind CSS, and hosted on Cloudflare Pages. The layout follows Astro’s project structure. The parts specific to this site: - – GitHub API responses cached during local development, to reduce API calls. - – images, logos, and redirects, copied as they are into dist/. - – Markdown for the blog posts and authors, validated by the content collections schemas in src/content.config.ts. - – .astro and .mdx pages whose filenames become routes. - – Layout.astro, used by every page, and MarkdownLayout.astro, used by the .mdx pages. - – GitHub API fetching, the search index, and the remark and rehype plugins for blog Markdown. - – the featured sponsors, see Sponsor Management. 1. Run ddev start. It installs dependencies and starts the dev server. 2. Open https:// .ddev.site:4321. The dev server reloads as you edit. Run ddev prettier and ddev textlint before committing. CI runs the same checks. 1. Run nvm use to use the Node.js version in .

README

원문 README의 일부입니다. 원문 보기.


Project Structure

The layout follows Astro’s project structure. The parts specific to this site:

  • cache/ – GitHub API responses cached during local development, to reduce API calls.
  • public/ – images, logos, and redirects, copied as they are into dist/.
  • src/content/ – Markdown for the blog posts and authors, validated by the content collections schemas in src/content.config.ts.
  • src/pages/ – .astro and .mdx pages whose filenames become routes.
  • src/layouts/ – Layout.astro, used by every page, and MarkdownLayout.astro, used by the .mdx pages.
  • src/lib/ – GitHub API fetching, the search index, and the remark and rehype plugins for blog Markdown.
  • src/featured-sponsors.json – the featured sponsors, see Sponsor Management.

Development

DDEV Setup

DDEV includes all the dependencies.

  1. Run ddev start. It installs dependencies and starts the dev server.
  2. Open https://.ddev.site:4321. The dev server reloads as you edit.
Command Action
ddev npm run build Build the production site to dist/, served at https://.ddev.site
ddev prettier [file] Fix formatting of the whole tree, or of the given files
ddev textlint [file] Fix wording in src/content/**, or in the given files, then report what is left
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add ddev/ddev.com
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →