React Naive 环境准备

Facebook ReactNative 官方链接

国内翻译的链接

环境要求:

1.Mac电脑

2.翻墙

3.Homebrew

 执行命令:ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"

4.watchman&flow

brew install watchman 

brew install flow

4.Node.js 4.0以上

5.ReactNative cli

  npm install -g react-native-cli

6.下载代码

GitLab 链接 http://192.168.0.102:7000

注册账号需要管理员开通,不要自己注册。

团队成员登录后首先需要提交公钥

1.ssh-keygen -t rsa -C "自己的邮箱地址"执行后,如果有提示,一路回车

执行下面命令,并复制看到的内容,在网页端添加SSH key 中粘贴进去。

2.cat ~/.ssh/id_rsa.pub

使用GIT工具 SorceTree

3.3 git clone --depth 1 [email protected]:PlatformTeam/platform.git

7.开发工具 官方: Nuclide 第三方:VSCode | Sublime | Xcode