katescarth / literary-halifax-mobile-app

Literary Halifax Mobile App
GNU General Public License v3.0
0 stars 0 forks source link

literary-halifax-mobile-app

Literary Halifax Mobile App

This is a GPL mobile client for omeka. It allows users to see landmarks and tours which are made up of landmarks, It also allows the user to cache content so that when visiting landmarks, they do not need to use data.

The app is built in ionic v1, and is free to use. To customize it for your own project:

You will also need to set up an Omeka server which includes the following plugins:

Setting up for development

install Node.js

Clone this repository

npm install -g cordova ionic

npm install -g bower

navigate to the 'literaryHalifax' folder

bower install

To run in a browser:

in www/js/cacheLayer.js, change '134.190.179.115' to your localhost IP address (the easiest way to find this address is to run ionic serve and look at the url for the browser window that opens)

ionic serve

This will launch the app in a browser, but some parts of the app (specifically audio and caching) won't work.

Running in android

Download and install Android SDK Command Line Tools (but see issue #15: you may need an old version)

Launch the SDK manager and install build tools and platform for android 23

navigate to the 'literaryHalifax' folder

ionic run android

To run the full version of the app on android, download and install the latest apk from here.

Chris G.'s notes one building for my mobile android device: To run on your mobile device follow these instructions: http://www.neilberry.com/how-to-run-your-ionic-app-on-real-devices/ Had to make a licnese file though for android studio before I could build it (see http://stackoverflow.com/questions/40383323/cant-accept-license-agreement-android-sdk-platform-24) (I already had android studio installed from previously).