Git Product home page Git Product logo

whospets's Introduction

Documentation

https://bit.ly/ion2fullapp-elite-version-documentation

##Config You need to replace all values from src/environment/environment.ts with your own values.

Workflow

##To run your app in the browser (great for initial development):

  • Install all the npm dependencies npm install

  • Serve the app in your browser ionic serve

##To run on iOS:

  • Add cordova platform ionic cordova platform add ios or cordova platform add ios

** NOTE: ** If you add the platform using the ionic command, then you may experience that nothing is happening for a while (you will just see 'Running command' in your terminal). In the other hand if you add the platform directly with cordova you will be getting verbose updates on what's doing in the background

  • Run it (on your device if connected or in the emulator) ionic cordova run ios --prod

** NOTE: ** We include the --prod flag to force Angular Ahead of Time compilation for the app

##To run on Android:

  • Add cordova platform ionic cordova platform add android or cordova platform add android

** NOTE: ** If you add the platform using the ionic command, then you may experience that nothing is happening for a while (you will just see 'Running command' in your terminal). In the other hand if you add the platform directly with cordova you will be getting verbose updates on what's doing in the background

  • Run it (on your device if connected or in the emulator) ionic cordova run android --prod

** NOTE: ** We include the --prod flag to force Angular Ahead of Time compilation for the app

##Review ionic CHANGELOG when updating ionic-angular version https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

Configs

Cordova (uses config.xml)

cordova platform save Use it when you have a pre-existing project and you want to save all the currently added platforms in your project.

Ionic (uses package.json)

ionic state reset This will remove everything then bring back what you have specified in the package.json file.

ionic state save To store the current platforms and plugins to the package.json

ionic state restore This will add in the appropriate plugins and platforms from the package.json

whospets's People

Contributors

wkying avatar rickykei avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

stephenfung84

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.