Git Product home page Git Product logo

ionic2-starter-template_deployementsteps's Introduction

This is a starter template for Ionicprojects.

How to use this template

*Download the files https://github.com/venkatch668/ionic2.git

With the Ionic CLI:

Take the name after ionic2-, and that is the name of the template to be used when using the ionic start command below:

$ npm install -g ionic cordova
$ ionic start myTabs tabs

Then, to run it, cd into myTabs and run:

$ ionic cordova platform ios or $ ionic cordova platform andorid
$ ionic cordova run ios or $ ionic cordova run andorid

Ionic Setup & Deploy

  1. Install Ionic and coredova files

    Command : npm install -g cordova ionic

    Ref: http://ionicframework.com/getting-started/

  2. Develop your own login / application as per requirement

  3. Install Latest Android SDK(2.3), Java Latest version (1.8)

    Ref: https://developer.android.com/studio/index.html

    Ref: https://www.java.com/en/download/windows-64bit.jsp

    Set proper environment variables

    1. JAVA_HOME

    2. Path

  4. Get Setup/build ready

    Command: ionic cordova run android --prod –release

    Then it will create unsigned .apk file in below path

    Path: myApp\platforms\android\build\outputs\apk

    But to install in device we need signed .apk

  5. Sign Android APK

    Command: keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias

    Enter password: demoadmin123 & re-enter again (Note: we can use any password, we should use same password in whole app)

    Command: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks android-release-unsigned.apk my-alias

    Enter password: demoadmin123

    Ref: http://ionicframework.com/docs/intro/deploying/

Now Signed .apk file is ready, copy into mobile then install.

<p><b>Additional Points:</b></p>
1.	Need 5 hours of time to setup
2.	Good internet speed
3.	Careful on setup javapath

@venkat

ionic2-starter-template_deployementsteps's People

Contributors

genietechsolutions avatar venkatch668 avatar

Watchers

 avatar

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.