Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ go.work.sum
# env file
.env
.qodo

# Website (Docusaurus)
website/node_modules/
website/.docusaurus/
website/.cache-loader/
website/build/
website/.DS_Store
20 changes: 20 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
135 changes: 135 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# 1024 TechCamp Website

这是 1024 实训营的官方网站,使用 [Docusaurus](https://docusaurus.io/) 构建。

## 本地开发

### 安装依赖

```bash
npm install
```

### 启动开发服务器

```bash
npm start
```

此命令启动本地开发服务器并打开浏览器窗口。大多数更改会实时反映,无需重启服务器。

### 构建

```bash
npm run build
```

此命令将静态内容生成到 `build` 目录,可以使用任何静态内容托管服务提供服务。

## 部署

### GitHub Pages 自动部署

创建 `.github/workflows/deploy.yml` 文件(需要 workflow 权限):

```yaml
name: Deploy to GitHub Pages

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: website/package-lock.json

- name: Install dependencies
run: npm ci

- name: Build website
run: npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/build

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
```

### 手动部署

```bash
GIT_USER=<Your GitHub username> npm run deploy
```

## 添加内容

### 添加博客文章

在 `blog/` 目录下创建新的 Markdown 文件:

```markdown
---
slug: my-post
title: 我的文章标题
authors: [techcamp]
tags: [tag1, tag2]
---

文章摘要

<!-- truncate -->

文章正文...
```

### 添加文档页面

在 `docs/` 目录下创建新的 Markdown 文件,并在 frontmatter 中指定位置:

```markdown
---
sidebar_position: 4
---

# 页面标题

页面内容...
```

## 许可证

Apache-2.0
38 changes: 38 additions & 0 deletions website/blog/2025-01-01-welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
slug: welcome-techcamp-website
title: 欢迎来到 1024 TechCamp 官方网站
authors: [techcamp]
tags: [announcement]
---

🎉 欢迎来到全新的 1024 TechCamp 官方网站!

<!-- truncate -->

## 关于本站

1024 实训营官方网站正式上线!在这里,你可以:

- 📖 阅读导师和学员的技术分享文章
- 🎓 了解实训营的课程和项目
- 💡 查看往期的技术讲座和工作坊
- 🤝 参与开源社区的讨论和贡献

## 我们的愿景

我们致力于打造一个开放、实践、创新的工程师成长平台。通过:

- **开源公开**:过程公开,结果开源,倒逼高质量产出
- **AI Native**:拥抱 AI 时代,让 AI 成为最强大的伙伴
- **资深带教**:资深专家全程陪跑,坚持高工程标准

## 精彩内容预告

即将发布的内容包括:

- 编译器技术深度解析
- AI 辅助开发实践经验
- 工程实践与架构设计分享
- 学员项目复盘与心得

敬请期待!🚀
5 changes: 5 additions & 0 deletions website/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
techcamp:
name: 1024 TechCamp Team
title: 实训营团队
url: https://github.com/qiniu/techcamp
image_url: https://github.com/qiniu.png
29 changes: 29 additions & 0 deletions website/blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
announcement:
label: 公告
permalink: /announcement
description: 实训营公告与通知

ai:
label: AI
permalink: /ai
description: AI 相关技术文章

go:
label: Go
permalink: /go
description: Go 语言相关

compiler:
label: 编译器
permalink: /compiler
description: 编译器技术

engineering:
label: 工程实践
permalink: /engineering
description: 工程实践与最佳实践

architecture:
label: 架构设计
permalink: /architecture
description: 架构设计与系统设计
57 changes: 57 additions & 0 deletions website/docs/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
sidebar_position: 2
---

# 参与贡献

我们欢迎所有形式的贡献!

## 贡献方式

### 📝 内容贡献

分享你的技术文章和实践经验:

**贡献到网站博客:**
1. Fork 本仓库
2. 在 `website/blog/` 目录下创建新的 Markdown 文件
3. 按照 Docusaurus 博客格式编写文章(参考现有文章)
4. 提交 Pull Request

**贡献技术分享文章:**
1. Fork 本仓库
2. 在仓库根目录的 `2025/` 目录下创建你的文章目录
3. 编写 Markdown 格式的技术文章
4. 提交 Pull Request

### 🐛 问题反馈

如果你发现任何问题或有改进建议,请:

1. 在 [GitHub Issues](https://github.com/qiniu/techcamp/issues) 创建新 issue
2. 详细描述问题或建议
3. 如有可能,提供复现步骤

### 💡 功能建议

有好的想法?欢迎提出:

1. 查看现有的 [提案](https://github.com/qiniu/techcamp/issues?q=label%3Aproposal)
2. 创建新的功能建议 issue
3. 参与讨论和投票

### 🌟 社区建设

- 参与讨论
- 回答其他人的问题
- 分享你的学习心得

## 代码规范

- 遵循现有的代码风格
- 提交前进行测试
- 编写清晰的 commit 信息

## 许可证

本项目采用 Apache-2.0 许可证。
30 changes: 30 additions & 0 deletions website/docs/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
sidebar_position: 1
---

# 关于 1024 实训营

欢迎来到 **1024 实训营**!

## 项目简介

1024 实训营,由七牛云发起,致力于打造一个开放、实践、创新的工程师成长平台。我们以开源精神为基石,以工程实践为路径,以架构思维为指引,在真实项目中锤炼工程师的工匠精神。

在这里,你将直面真实复杂的开源项目,体验严谨的工程规范,感受架构设计的艺术,在实战中锻造工程思维,在协作中传承技术精神。

我们相信,优秀的工程师不仅需要扎实的技术功底,更需要追求卓越的工程精神。

如果你也热爱技术、渴望成长,欢迎加入我们。

## 项目特色

- **开源公开**:过程公开,结果开源,倒逼高质量产出,让优秀者容易被看见
- **AI Native**:倡导 Build/Think/Code With AI,让 AI 成为你最强大的伙伴,共同创造
- **技术纵深**:挑战编程语言、编译器等高技术门槛项目,技术纵深足够,切入点不设限
- **资深带教**:资深专家全程陪跑,代码逐行审阅,架构反复推敲,坚持高工程标准
- **全流程参与**:从定方位到架构设计再到开发实现,体验完整的产品思维和架构思维
- **小团队共创**:3-5 人小组协作,激发潜能,培养团队协作和领导力

## 快速开始

查看我们的 [GitHub 仓库](https://github.com/qiniu/techcamp) 了解更多信息,或者访问 [技术博客](/blog) 阅读精彩的技术分享。
21 changes: 21 additions & 0 deletions website/docs/proposals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
sidebar_position: 3
---

# 提案与建议

这里收集了实训营的各类提案和指导文档。

## 课程指导

- [定方向](https://github.com/qiniu/techcamp/blob/main/proposal/课程指导-定方向.md)

## 提交提案

如果你有新的想法或建议,欢迎:

1. 在 [GitHub Issues](https://github.com/qiniu/techcamp/issues) 创建提案
2. 使用 `proposal` 标签标记
3. 详细描述你的想法和实现思路

我们会认真审阅每一个提案,优秀的提案将被采纳并实施。
Loading