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

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.

主站蜘蛛池模板: 南部县| 庆安县| 商城县| 黄冈市| 布拖县| 德庆县| 安乡县| 张家界市| 兴宁市| 诸城市| 锡林郭勒盟| 通州市| 庄河市| 翼城县| 万山特区| 安庆市| 佛教| 玉环县| 资中县| 古蔺县| 讷河市| 深水埗区| 南澳县| 黄山市| 东乡| 东安县| 南充市| 柳河县| 乌鲁木齐市| 富顺县| 乐平市| 夏津县| 六安市| 军事| 贵州省| 简阳市| 富宁县| 巫溪县| 宜章县| 吉安市| 锡林郭勒盟|