Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 3.83 KB

README.md

File metadata and controls

75 lines (57 loc) · 3.83 KB

Grisu NÖ - Mobile App MIT License Build Status Join the chat

Apple App Store Google Play Store

The already existing mobile web-app (http://mobile.leitstelle122.at/) of WASTL - shortened for "Warn- und Alarmstufenliste" in German - is used to display several realtime information of currently running fire brigade incidents in Lower Austria. The incident data is kindly provided by the voluntary fire department "Freiwillige Feuerwehr Krems". WASTL is a project by several public sector entities:

Die Warn- und Alarmstufenliste ist ein gemeinsames Projekt des NÖ Landesfeuerwehrverbandes, der NÖ Landesregierung, des Bundesrechenzentrums, des Bezirksfeuerwehrkommandos Krems, des Magistrates der Stadt Krems sowie der Freiwilligen Feuerwehr Krems.

This project aims to build a modern mobile web-app based on the Ionic framework to improve the functionality of the existing solution. The new resulting mobile app should be available in several app stores for different mobile platforms to have a native look and feel.

Contributing

You want to contribute? Great! Thanks for being awesome! Please see the project related issues before you start coding. Pull requests are always welcome!

Coding guidelines

  • 4 spaces for indentation
  • 140 character max. line length
  • In general, try to make your code blend in with the surrounding code.

Setup of development environment

  • Install node.js (v4.x)
  • npm install -g cordova ionic gulp
  • Optional: Install bower command line utility: npm install -g bower
  • Go to project root folder
  • Install required node dependencies: npm install
  • Run Gulp dependency installation: gulp install
    • If you have problems to execute the Gulp task, try to execute git config url."https://".insteadOf git:// before
  • Add platforms
    • ionic platform --noresources --nosave add ios (works only on Mac OSX)
    • ionic platform --noresources --nosave add android (you need to install the Android SDK before)
  • ENJOY!

Useful commands and hints

  • Show app log in console when debugging app on Android device with USB
    • adb logcat -s CordovaLog:D or adb logcat -s chromium:D
  • Start Google Chrome with disabled web security to retrieve data from remote servers
  • Watch SASS changes and compile / move it immediately
    • gulp sass:watch
  • Start web server and open browser. It also watches for code changes.
    • ionic serve
  • Emulate an iOS device with Mac OSX
    • List available emulators: <PROJECT_ROOT>/platforms/ios/cordova/lib/list-emulator-images
    • Start emulator: ionic emulate ios --target="<TARGET>" e.g.: ionic emulate ios --target="iPad (Retina)"

Licencing

Grisu NÖ is licenced under the MIT License (MIT).