Skip to content

关于翻译 - 基础指引 #3

Description

@keifergu

拉取与运行

  1. GraphQL-China/graphql.github.io 仓库 fork 。
  2. clone 你自己的仓库副本到本地。例如:
    git clone git@github.com:keifergu/graphql.github.io.git
    注意:此处需要为你自己的仓库地址。
  3. 在本地,进入仓库目录:
    cd graphql.github.io
  4. 安装依赖:
    npm install
  5. 运行服务:
    npm start
  6. 浏览器打开:http://localhost:8444/

翻译

  1. 使用文本编辑器打开目录,根据认领的翻译任务寻找到对应的文本位置:
    例如: /learn/Introduction.md 在文件夹中对应的位置则为: site/learn/Introduction.md
    tim 20170706131654
  2. 翻译后,刷新页面即可看到效果。

合并与提交

  1. 在本地仓库进行更改,commit 到本地仓库后,push到自己的 Github 仓库。
    注意:此处默认建议 commitzh-cn 分支。
  2. GraphQL-China/graphql.github.io页面选择 New pull request:
    new pull request
    注意:base fork 为 GraphQL-China/graphql.github.io,分支为 zh-cn,head fork 为你自己的仓库,分支为 zh-cn
  3. 发起 PR 后,等待管理人员回复与合并。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions