Skip to content

Commit

Permalink
Updated build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Jul 17, 2019
1 parent df823b8 commit 4f0d7d8
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions INSTALL/android.md
Expand Up @@ -2,19 +2,22 @@

* Getting Node and NPM
* Install Ionic and cordova

```bash
npm install -g ionic cordova
```

* Clone the repository

```bash
git clone https://github.com/CASES-LU/CASESapp.git
git clone https://github.com/CASES-LU/TACOS.git
```
* Go to the folder

```bash
cd ./CASESapp
cd TACOS/
```

* Launch the serve
```bash
ionic serve
Expand Down Expand Up @@ -99,9 +102,10 @@ ionic cordova build android
```

## To emulate android Phone

Doesn't in guest VM

### Install same [requirements](https://github.com/CASES-LU/CASESapp#requirements) for generation a sdk
### Install same requirements for the generation a sdk

### Install android image

Expand Down Expand Up @@ -130,12 +134,5 @@ npm run extract
# Generate a production ready APK

```bash
rm -Rf node_modules/ www/ platforms/android/
npm install

ionic cordova platforms add android
ionic cordova build android --release --prod

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/<your-file>.keystore ~/git/TACOS/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk AliasKey
zipalign -v 4 ~/git/TACOS/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk ~/git/TACOS/platforms/android/app/build/outputs/apk/release/TACOS.apk
./build.sh
```

0 comments on commit 4f0d7d8

Please sign in to comment.