Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/venkatch668/ionic2-starter-template_deployementsteps
Ionic2 Starter template and Deploy steps, Generate .apk file for android
https://github.com/venkatch668/ionic2-starter-template_deployementsteps
android angular2 cordova hybrid-apps ionic2 ionic2-starter-template typescript2
Last synced: about 1 month ago
JSON representation
Ionic2 Starter template and Deploy steps, Generate .apk file for android
- Host: GitHub
- URL: https://github.com/venkatch668/ionic2-starter-template_deployementsteps
- Owner: venkatch668
- Created: 2017-07-02T03:55:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-02T04:07:55.000Z (over 7 years ago)
- Last Synced: 2024-12-14T14:34:29.720Z (about 1 month ago)
- Topics: android, angular2, cordova, hybrid-apps, ionic2, ionic2-starter-template, typescript2
- Language: CSS
- Homepage:
- Size: 1.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a starter template for [Ionic](venkat)projects.
## 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:```bash
$ npm install -g ionic cordova
$ ionic start myTabs tabs
```Then, to run it, cd into `myTabs` and run:
```bash
$ ionic cordova platform ios or $ ionic cordova platform andorid
$ ionic cordova run ios or $ ionic cordova run andorid
```## Ionic Setup & Deploy
Install Ionic and coredova files
Command : npm install -g cordova ionic
Ref: http://ionicframework.com/getting-started/
Develop your own login / application as per requirement
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
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
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.
Additional Points:
1. Need 5 hours of time to setup
2. Good internet speed
3. Careful on setup javapath@venkat