Awesome Open Source
Awesome Open Source

Dianoia - Ionic Mobile app


A demo of the app (in Greek) can be found here.

Non-pharmaceutical activities for people with dementia.

This project was built using the following versions of nodejs and npm:

$ node -v
v10.16.0

$ npm -v
6.14.2

It is very easy to install multiple versions of nodejs and npm, by using Node Version Manager (nvm).

Install project dependencies:

$ npm install -g @ionic/[email protected] 

$ npm install -g [email protected]

$ cd dianoia-app

$ npm install

$ ionic serve

Execution

Then, to run it in a real Android device, cd into dianoia-app and run:

$ ionic cordova platform add [email protected]

$ ionic cordova emulate android

Building

Building for Android

Java - Gradle

In order to build for Android, Java 1.8 is required, along with Gradle 4.4.1.

Verify your installations by running:

java -version

gradle -version

Firebase Analytics

Since the project uses Firebase Analytics, In order to build for Android you have to put the google-services.json file from Firebase Console to the root directory. The build process will then copy this file to the platforms/andorid/app directory.

In order to produce e release build:

cordova build android --release

Signing the Android .apk

After the .apk file is built, you can either use Android CLI commands, or just open Android Studio, and sign the .apk.

Building for Browser

In order to generate a bundled directory that can be hosted as a web application, you need to add and build the browser platform:

$ ionic cordova platform add browser

$ ionic cordova platform build browser

This will generate a platforms/browse/www directory that can be uploaded to a server.

GitHub pages

In order to generate the docs directory that can be used from GitHub Pages, you need to run the following script:

$ npm run build-docs

This will generate the docs directory. (Note that this directory is and should be under Version Control).

License

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

Copyright 2016

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Sponsors

Το project “Διάνοια” υλοποιείται από τη Μη Κερδοσκοπική Εταιρεία SciFY στο πλαίσιο του προγράμματος “Σημεία Στήριξης” που συγχρηματοδοτείται από το ΤΙΜΑ Κοινωφελές Ίδρυμα, το Κοινωφελές Ίδρυμα Ιωάννη Σ. Λάτση, τη φιλανθρωπική οργάνωση Hellenic Hope και το Ίδρυμα Μποδοσάκη.

Περισσότερες πληροφορίες για το έργο σε αυτόν τον σύνδεσμο.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Typescript (251,605
Hacktoberfest (33,012
Angular2 (2,061
Mobile App (1,537
Angular4 (1,463
Ionic3 (547
Ionic2 (405
Offline First (328
Hybrid Apps (221
Related Projects