Visit BUILD.md to create a release build.
Visit STYLE.md to see the development style guide.
Visit PAGES.md to see the hierarchy of pages in the app.
Visit SETUP.md for getting your Ionic environment setup.
Visit THEME.md for information on changing colors and styling.
- Ionic Documentation
- Ionic Installation
- Ionic Components
- Ionic Native Plugins
- Ionic Command Line
- Ionic Community Forum
sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib
sudo chown -R $(whoami) /usr/local/bin
nvm install 9
npm install -g [email protected]
npm install -g [email protected]
npm install -g cordova-res@latest
npm install -g cordova-common@latest
npm install -g cordova-ios@latest
npm install -g cordova-android@latest
npm install -g cordova-browser@latest
npm install -g xcode@latest
npm install -g ios-sim@latest
npm install -g ios-deploy@latest
npm install -g android-simulator@latest
brew upgrade gradle
gem update --system
gem cleanup --system
gem install cocoapods -n /usr/local/bin
pod setup
rm -r www
rm -r node_modules
rm -f package-lock.json
npm cache clean --force
npm cache clear --force
npm install --force
cordova clean
ionic cordova platform rm ios
ionic cordova platform rm android
ionic cordova platform rm browser
ionic cordova platform add [email protected] --buildConfig=build.json
ionic cordova platform add [email protected] --buildConfig=build.json
ionic cordova platform add browser
cordova plugin add sentry-cordova
cordova run ios --list
xcrun simctl list devicetypes
ENV=dev ionic cordova run ios --livereload --consolelogs --device --buildConfig=build.json
ENV=dev ionic cordova run ios --livereload --consolelogs --debug --target "iPhone-SE,com.apple.CoreSimulator.SimRuntime.iOS-12-2" -- --buildFlag="-UseModernBuildSystem=0"
ENV=dev ionic cordova run ios --livereload --consolelogs --debug --target "iPhone-8-Plus,com.apple.CoreSimulator.SimRuntime.iOS-12-2" -- --buildFlag="-UseModernBuildSystem=0"
ENV=dev ionic cordova run ios --livereload --consolelogs --debug --target "iPad-Pro--12-9-inch---3rd-generation-,com.apple.CoreSimulator.SimRuntime.iOS-12-2" -- --buildFlag="-UseModernBuildSystem=0"
cordova run android --list
ENV=dev ionic cordova run android --livereload --consolelogs --device --debug
ENV=dev ionic cordova emulate android --livereload --consolelogs --emulator --target Nexus_S_API_26
ENV=local ionic serve --livereload --consolelogs
ENV=dev ionic serve --livereload --consolelogs
ENV=staging ionic serve --livereload --consolelogs
ENV=prod ionic serve --livereload --consolelogs
rvm use system
export NODE_OPTIONS=--max_old_space_size=4096
ENV=prod ionic cordova prepare ios --prod --release --buildConfig=build.json
ENV=prod ionic cordova build ios --prod --release --buildConfig=build.json
sdkmanager --update
export NODE_OPTIONS=--max_old_space_size=4096
ENV=prod ionic cordova prepare android --prod --release --buildConfig=build.json
ENV=prod ionic cordova build android --device --prod --release --buildConfig=build.json
ENV=develop npm run ionic:build --prod --release
ENV=staging npm run ionic:build --prod --release
ENV=prod npm run ionic:build --prod --release
npm run lint
git checkout develop
git reset --hard
git pull
ISSUE_NAME="123 Fixed A Bug"
BRANCH_NAME=$(echo $ISSUE_NAME | tr '[:upper:]' '[:lower:]' | tr '/' '-' | tr ' ' '-')
git checkout -b $BRANCH_NAME
git add .
git add -u
git commit -m "Fixed a bug for #123"
git push -u origin $BRANCH_NAME