Skip to content

Tech4covid19/covidografia-mobile

Repository files navigation

Covidografia Mobile

Install

Install ionic globally the run npm install

$ npm install -g @ionic/cli
$ npm install

Run

Run on the web

$ ionic serve

Run on an emulator or physical Android device with Livereload

$ npm run devandroid

Run on an emulator or physical iOS device with Livereload

$ npm run devios

Prod Build

For the web

$ ionic build --prod

For Android run the following commando and hit play on Android Studio

$ npm run android

For iOS run the following commando and hit play on XCode

$ npm run ios

Resources

Install this package globally

npm install -g cordova-res --unsafe-perm

Then inside project's root run:

cordova-res --skip-config --copy 

Follow the specs at:
https://github.com/ionic-team/cordova-res#capacitor