React Native Setup on Windows
Aug 23, 2017 · 1 min read
- install java jdk 8
2. install Node.js
3. install python 2
4. install android Studio
5. Open cmd with administrator acess. install react native cli
npm install -g react-native-cli
6. go to the directory where want to create the project.
7. create project by following cmd.
react-native init project_name
8. add JAVA_HOME enviroment variable of jdk, and add android sdk platform-tools path in Path variable
9. open android studio. and emulator. and run react native project
react-native run-android
Elint Setup for windows
- go to project directory
npm install -g eslint - install packege controller: https://packagecontrol.io/installation Copy command and paste in sublime-> view->show console. enter
- go to project directory
npm install — save-dev eslint-config-rallycoding - Create new file in project directory with name of .eslintrc
{
“extends”:”rallycoding”
} - ctrl+shift+p open command promt . then search for install package. then install sublimeLinter, then sublimeliner- contrib- eslint
