Skip to content

Shifting between branches

Shaunak Das edited this page Dec 15, 2017 · 8 revisions

expo to integrated

  • copy /pure folder contents to ../pure_backup
  • shift to integrated branch
git checkout integrated
  • Make a branch integrated_sync_DDMMM
git checkout -b integrated_sync_15Dec
  • Compare differences between /pure and ../pure_backup folder
cd .. && diff -rq genius_app/pure pure_backup

Ignore differences related App.js and App.test.js

  • Delete everything from /pure except App.js and App.test.js and copy from ../pure_backup folder
  • Comment all expo related code
//pure/common/constants
export const ENVIRONMENT = 'integrated';
  • Install npm packages
npm install
//If above command doesn't run
watchman watch-del-all
rm -rf node_modules && npm install
npm start -- --reset-cache
  • Start js server
npm start
  • Create the build from another tab
react-native run-android --appFolder /Users/shaunakdas2020/Documents/workspace/react_native_projects/genius_app/android/

Clone this wiki locally