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.
You want to contribute? Great! Thanks for being awesome! Please see the project related issues before you start coding. Pull requests are always welcome!
- 4 spaces for indentation
- 140 character max. line length
- In general, try to make your code blend in with the surrounding code.
- 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
- If you have problems to execute the Gulp task, try to execute
- 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!
- Show app log in console when debugging app on Android device with USB
adb logcat -s CordovaLog:D
oradb 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)"
- List available emulators:
Grisu NÖ is licenced under the MIT License (MIT).