sameid / uomsa-app

uomsa app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uomsa

To run the APP locally you must install the following:

Running the App

  • Make sure you have the api running -> uoMSA-API
  • Clone this repo
git clone https://github.com/uomsa/app.git
  • Open Terminal (Mac or Linux) or Command Prompt (Windows) and cd into the root directory of the repo
cd app
  • Install Apache Cordova (PhoneGap Core) (You might have to run command prompt as administrator)
npm install -g cordova

Building for iOS (Mac Only)

Ensure that you have XCode and iOS SDK installed on your mac

  • Run the build command
cordova build ios
Simulate in iOS Emulator
  • Install the ios-sim npm module so that cordova can talk to the iOS Emulator built into XCode
sudo npm install -g ios-sim
  • Run the App in the iOS Emulator
cordova emulate ios

Building for Android

  • Ensure that you have Android SDK installed and that /sdk/tools/android and /sdk/platform-tools/adb are accessible globally in the system (Install them to path)

  • Run the android build command

cordova build android
Run on Android Device
  • Connect your device to the computer and make sure that adb picks it up
adb devices
  • If so then, then run the cordova command:
cordova run android

About

uomsa app


Languages

Language:Java 47.0%Language:JavaScript 36.0%Language:CSS 11.6%Language:D 2.1%Language:Objective-C 1.4%Language:C# 0.8%Language:Shell 0.7%Language:C++ 0.3%Language:Ruby 0.0%