catalog/repos/adobe--helix-website.md

41 lines
823 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Helix 官网源码
`Adobe` `AEM` `网站开发` `静态站点`
# Project Helix 网站
[www.aem.live](https://www.aem.live)
[![codecov](https://codecov.io/gh/adobe/helix-website/branch/main/graph/badge.svg?token=If90y6KMqx)](https://codecov.io/gh/adobe/helix-website)
## 简介
本仓库是 Helix 官方网站的驱动源码。
## 开发
安装 Helix CLI
sudo npm install -g @adobe/aem-cli
在本仓库中运行:
aem up
若站点预览需要身份验证,本地开发时请使用以下命令:
npx @adobe/aem-cli up --url https://main--helix-website--adobe.aem.live/
## 测试
### 安装依赖:
npm install
### 运行测试:
npm test
### 监听模式运行测试:
npm test:watch
此命令会运行全部测试,之后仅针对有变动的测试文件重新运行。