Current released version: Alfredo (2.0.4)
Welcome to the repo! We're using git flow, so check it out. Install link is there.
master is for releases tag only develop is the main branch
When you work, start a new feature with git flow feature start <name>
.
Commit as usual.
When finished, git flow feature finish <name>
.
You can also directly commit to develop for quick modifications that doesn't belong to features.
If you need to make a fix :
git flow hotfix start <name>
.
Commit as usual.
Then git flow hotfix finish <name>
.
Please install gitflow before you start working on this repo!
Release command for repo admins:
git flow release start <version (ex:1.0.0)>
Commit LAST MINUTE FIXES.
Bump version number.
git flow release finish <version>
Then push to the server: git push origin --tags
First, install the dependencies using bower:
$ bower install
When getting the source code from Git, you can compile from Android doing the following :
$ ionic platform add android
$ ionic run android
To run on your computer (please use Chrome, there may be issues with other browsers, in particular Firefox)
$ ionic serve
If you have some issues, try the following :
$ ionic platform remove android
$ ionic platform add android
$ ionic state restore
$ ionic run android
To build a release APK, you need the 'my-release-key.keystore' file. If you got it, just do the following :
$ cordova build --release android
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore platforms/android/build/outputs/apk/android-release-unsigned.apk alias_name
$ zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk WTF.apk
adb install WTF.apk