CNCF Cloud Native Landscape 项目教程

CNCF Cloud Native Landscape 项目教程

landscape-2 🌄 The Cloud Native Interactive Landscape filters and sorts hundreds of projects and products, and shows details including GitHub stars, funding or market cap, first and last commits, contributor counts, headquarters location, and recent tweets. 项目地址: https://gitcode.com/gh_mirrors/la/landscape-2

1. 项目目录结构及介绍

CNCF Cloud Native Landscape 项目的目录结构如下:

.
├── cached_logos
├── cmd
├── hosted_logos
├── images
├── netlify
├── pkg
├── .gitignore
├── .lycheeignore
├── .npmrc
├── .nvmrc
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── code-of-conduct.md
├── convox.svg
├── go.mod
├── go.sum
├── guide.md
├── landscape.yml
├── netlify.toml
├── processed_landscape.yml
├── readme_summary.md
├── server.js
└── settings.yml

目录介绍

  • cached_logos: 缓存的logo文件。
  • cmd: 命令行工具相关文件。
  • hosted_logos: 托管的logo文件。
  • images: 项目中使用的图片文件。
  • netlify: Netlify相关配置文件。
  • pkg: 项目包文件。
  • .gitignore: Git忽略文件配置。
  • .lycheeignore: Lychee忽略文件配置。
  • .npmrc: npm配置文件。
  • .nvmrc: nvm配置文件。
  • Dockerfile: Docker构建文件。
  • LICENSE: 项目许可证文件。
  • Makefile: 项目构建文件。
  • README.md: 项目介绍文件。
  • code-of-conduct.md: 项目行为准则文件。
  • convox.svg: 项目使用的SVG文件。
  • go.mod: Go模块配置文件。
  • go.sum: Go模块依赖文件。
  • guide.md: 项目指南文件。
  • landscape.yml: 项目主配置文件。
  • netlify.toml: Netlify配置文件。
  • processed_landscape.yml: 处理后的项目配置文件。
  • readme_summary.md: README摘要文件。
  • server.js: 项目启动文件。
  • settings.yml: 项目设置文件。

2. 项目启动文件介绍

项目的启动文件是 server.js。该文件负责启动项目的本地服务器,并生成项目的静态站点。

启动方式

  1. 本地启动:

    • 确保已安装Node.js 14+版本。
    • 在项目根目录下运行 node server.js
    • 打开浏览器访问 http://localhost:8001
  2. Docker启动:

    • 运行 make serve-docker
    • 打开浏览器访问 http://localhost:8001

3. 项目配置文件介绍

landscape.yml

这是项目的主配置文件,包含了项目的所有数据和配置信息。文件内容包括项目的分类、项目信息、logo路径等。

netlify.toml

Netlify的配置文件,用于配置Netlify的构建和部署设置。

settings.yml

项目的设置文件,包含了项目的各种设置选项。

processed_landscape.yml

这是处理后的项目配置文件,由 landscape.yml 和其他外部数据源(如GitHub、Crunchbase等)生成。该文件用于生成项目的静态站点。

通过以上配置文件,可以对项目进行详细的配置和管理。

landscape-2 🌄 The Cloud Native Interactive Landscape filters and sorts hundreds of projects and products, and shows details including GitHub stars, funding or market cap, first and last commits, contributor counts, headquarters location, and recent tweets. 项目地址: https://gitcode.com/gh_mirrors/la/landscape-2

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

谢忻含Norma

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值