-
Notifications
You must be signed in to change notification settings - Fork 0
Shifting between branches
Shaunak Das edited this page Dec 15, 2017
·
8 revisions
- copy
/purefolder 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
/pureand../pure_backupfolder
cd .. && diff -rq genius_app/pure pure_backup
Ignore differences related
App.jsandApp.test.js
- Delete everything from
/pureexceptApp.jsandApp.test.jsand copy from../pure_backupfolder - 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/