Skip to content

MixaBot/mixabot_phone_app

Repository files navigation

How to start development

This project uses Node Package Manager (NPM) and node to compile typescript, templates, and styling files to javascript, HTML, and CSS. To use these, download and install node.

Prerequisits

JDK 8 or higher.

If you want to test natively on android, Android Studio is also needed. After that's installed, make sure the gradle bin folder is in your system PATH and the GRADLE_HOME environment variable is set to the gradle directory.

Then an android Platform will need to be installed in the SDK Manager of Android Studio.

Install

Clone this repository and cd into the root directory of the mixabot app.

Install all of the package dependencies and make sure Ionic is installed globally:

$ npm install
$ npm install -g ionic
$ npm install -g cordova

Setup typescript (optional)

If you want to run typescript files directly from the command line ts-node becomes very useful:

$ npm install -g ts-node
$ npm install -g typescript

Then you can run any typescript script, for example:

$ ts-node server/script.ts

Run the app

Restart the terminal OR make sure ionic is in your path environment variable.

Now start the app to automatically launch it in a browser:

$ ionic serve

Deploy

Jarsign the APK:

"/c/Program Files"/Java/jdk1.8.0_151/bin/jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore keys/my-release-key.jks platforms/android/build/outputs/apk/android-release-unsigned.apk my-alias /c/Users/quinw/AppData/Local/Android/Sdk/build-tools/27.0.3/zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk SirMixABot.apk /c/Users/quinw/AppData/Local/Android/Sdk/build-tools/27.0.3/apksigner verify SirMixABot.apk

About

The phone app for Mixabot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors