Skip to content

Commit

Permalink
chore(pr): add pr step instroduction
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomchan-cxj committed Feb 22, 2022
1 parent ec5075a commit 8e11129
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Hi! I'm really excited that you are interested in contributing to Hippy. Before

## Pull Request Guidelines

- Setting up your local environment to get started. You will need have [git](https://git-scm.com/) and [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed locally, then run `npm install` to download all needed dependencies. These are detailed in the [Development Setup guide](https://github.com/Tencent/Hippy#getting-started).

- Checkout a topic branch from the relevant branch, e.g. `master`, and merge back against that branch.

- Test cases have been added/updated/passed for the code you will submit.
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ Hippy is now applied in 27+ [Tencent](http://www.tencent.com/) apps such as Mobi

### Preparing environment

Run `git clone https://github.com/Tencent/Hippy.git`
Make sure you have [git](https://git-scm.com/) and [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed locally.

> Hippy repository applies [git-lfs](https://git-lfs.github.com/) to manage so,gz,otf files, make sure you have installed [git-lfs](https://git-lfs.github.com/) first.
Run `git clone https://github.com/Tencent/Hippy.git` and `npm install` at project root directory.

> The Hippy repository applies [git-lfs](https://git-lfs.github.com/) to manage so,gz,otf files, make sure you have installed [git-lfs](https://git-lfs.github.com/) first.
For macOS developers:

Expand Down Expand Up @@ -147,6 +149,7 @@ Hippy
├── core # JS modules implemented by C++, binding to JS engine.
├── docker # Native release docker image and build scripts.
├── layout # Hippy layout engine.
├── static # Global static resources stored directory.
└── scripts # Project build script.
```

Expand Down
5 changes: 4 additions & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Hippy 是一个新生的跨端开发框架,目标是使开发者可以只写

### 准备环境

运行 `git clone https://github.com/Tencent/Hippy.git`
确保你本地已经安装 [git](https://git-scm.com/)[npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)

运行 `git clone https://github.com/Tencent/Hippy.git`,然后在项目根目录运行 `npm install`

> Hippy 仓库使用 [git-lfs](https://git-lfs.github.com/) 来管理 so,gz,otf 文件, 请确保你已经安装 [git-lfs](https://git-lfs.github.com/)
Expand Down Expand Up @@ -146,6 +148,7 @@ Hippy
├── core # C++ 实现的 JS 模块,通过 Binding 方式运行在 JS 引擎中。
├── docker # 发布 Native 的 Docker 镜像和构建脚本
├── layout # Hippy 布局引擎。
├── static # 全局静态资源存储目录。
└── scripts # 项目编译脚本。
```

Expand Down

0 comments on commit 8e11129

Please sign in to comment.