RWTH-i5-IDSG / BikeMan

Manager for a Bicycle Sharing System
Apache License 2.0
12 stars 5 forks source link
backend ebike java

BikeMan - Bike Manager

BikeMan is a management and backend system for pedelec rental stations.

System Requirements

It is designed to run as standalone, so a java servlet container / web server (e.g. Apache Tomcat), is not required.

Configuration and Installation

  1. Database preparation:

    Make sure that a database user "BikeMan" and a database "BikeMan" exist (or change these however you want). The user should be the owner of the database.

    The database migrations will be done by Liquibase when the application starts.

  2. Start the application with

    mvn spring-boot:run
  3. Access the web interface at http://localhost:8080/. The initial credentials are defined in users.csv. So, you can login with the email admin@bikeman.com and password admin. Change these in a production system!

IXSI Configuration

BikeMan implements IXSI, which uses WebSocket connections. The database table ixsi_client_system with columns system_id and ip_address should contain entries for IXSI client systems that are allowed to connect to BikeMan.

The relative path for WebSocket connections is /ws. For example, the complete path can look like ws://localhost:8080/ws.

You can monitor open IXSI connections via http://localhost:8080/#/monitor (Administration > IXSI monitor at the right upper corner of the web interface).