Skip to content

vtsironis/DisasterHub

Repository files navigation

DisasterHub

Install Ionic framework and Cordova project command-line tools

First, install Node.js. Then install the command-line tools:

$ npm install -g cordova ionic

Follow the Android and iOS platform guides to install required platform dependencies.

Note: Currently olny the Android platform is supported.

Install bower package manager

$ npm install -g bower

Install DisaterHub in your local machine

Clone source code:

$ git clone https://github.com/vtsironis/DisasterHub.git

Change current directory to DisaterHub's root directory:

$ cd DisasterHub

Install dependencies:

$ bower install

Run DisasterHub in your PC

You can run DisasterHub in your PC using localhost and a Web browser:

$ ionic serve

Congratulations! DisasterHub should launch in the Web browser of your PC right now in the address http://localhost:8100/!!!

Note 1: Please make sure that DisasterHub is running in port 8100 of localhost (i.e. http://localhost:8100/). Note 2: DisasterHub is tested in Mozilla Firefox and Google Chrome, so better use one of these browsers.

Run DisasterHub in your mobile device

Restore DisasterHub plugins and platforms:

$ ionic state restore
Note: Currently olny the Android platform is supported.

After restoring the DisasterHub plugins and platforms you have two options.

Option 1

Build the app file in your PC and then use it to install DisasterHub in your mobile device.

Build DisasterHub in your PC:

$ ionic build

In the case of the Android platform an APK file (e.g. android-armv7-debug.apk) will be created under the folder $PATH_TO_DISASTERHUB/DisasterHub/platforms/android/build/outputs/apk. You can use this file to install the DisasterHub app in your android device.

Option 2

Build, install and run DisasterHub directly in your mobile device. However, in order to do that you must first enable USB debugging in your mobile device (view more information) and then connect it to your PC via usb.

Run DisasterHub in your mobile device:

$ ionic run

Congratulations! DisasterHub should launch in your mobile device right now!!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published