官术网_书友最值得收藏!

Getting started before Chapter 1

The book has an accompanying GitHub repository that contains all of the walk-throughs already implemented in a series of commits. You should clone this to your local development machine as you'll be working within it.

  1. If you have a GitHub account, I suggest you fork the repo so that you can push your work to keep a copy safe. Use the Fork button in the top-right hand corner of the GitHub page to do this.

    The repository is located at https://github.com/PacktPublishing/Mastering-React-Test-Driven-Development.

  2. Once forked, you can then clone this locally by going to a terminal window and typing the following command, replacing <username> with your GitHub username:
git clone git@github.com:<username>/Mastering-React-Test-Driven-Development.git
  1. You may wish to rename the directory to something shorter. On my machine, I've used the name react-tdd.
  2. Change into this directory using the cd command.
  3. Issue the command git checkout tags/starting-point.
  4. Finally, issue the command git checkout -b starting-point-mine to create your own branch from this point.

You're now ready to begin Chapter 1. If the last two commands didn't make any sense, don't panic: I'll explain about tags and branches now.

主站蜘蛛池模板: 新乡县| 巴彦淖尔市| 宁武县| 旌德县| 海林市| 龙胜| 隆回县| 滦平县| 闸北区| 永登县| 广灵县| 怀化市| 施甸县| 泽库县| 永吉县| 海门市| 安义县| 龙山县| 汉寿县| 鄂伦春自治旗| 元谋县| 青铜峡市| 容城县| 喀喇沁旗| 绥芬河市| 锡林浩特市| 亳州市| 肥城市| 乐山市| 云安县| 沈丘县| 湖州市| 靖州| 仁布县| 敦煌市| 岳池县| 安远县| 扶余县| 延长县| 咸宁市| 图们市|