/SS2016-group3

Primary LanguageTypeScript

develop: Build Status Coverage Status

master: Build Status Coverage Status

Digitale Dörfer - mobile people’s bus system

This project deals with the development of a mobile people’s bus system. The system consists of a mobile app that serves as the people’s bus host system and another mobile app for citizens to use the different people’s busses. It is intended, that the system will be used within the project Digitale Dörfer

BusDriveApp

This repository contains the source code of the BusDriveApp, used by the bus driver.

This app is used to track the bus and send its position to the server.

The application is written in TypeScript and utilizes the beta version of the cross-platform development framework Ionic.

It uses also MapTilerLayer.

Requirements documentation:

Design documentation:

  • [Tracebility SF to Components](Doc/Architecture/System Functions to Components Traceability.pdf)
  • [Component diagram](Doc/Architecture/Architecture - Component Diagram.pdf)

Quality Assurance:

How to build the application

  1. Install the Node.js, the LTS version is fine.

  2. Open a command-line (or shell).

  3. Install the Ionic CLI tools:

    npm install -g ionic@beta (on the Mac OSX use sudo)

  4. Go to the BusDriveApp directory.

  5. Install the NPM dependencies:

    npm install

  6. Start the integrated web server:

    ionic serve

  7. The app will open in a browser.

In order to see some data in the application, you'll need to start a mock server.

Please follow these steps:

  1. Go to Json-Server and follow the instructions.

  2. Download json-data

  3. Open a command line in the directory where your json-data is saved and start the server

    json-serer -w TestServer.json

If everything is already installed

Just open Start Server and Ionic.bat from the main directory. It will start the mock server and the integrated web server for you.