BikeMan is a management and backend system for pedelec rental stations.
- JDK 8
- Maven
- Postgres 9.5 or 9.6
It is designed to run as standalone, so a java servlet container / web server (e.g. Apache Tomcat), is not required.
-
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.
-
Start the application with
mvn spring-boot:run
-
Access the web interface at
http://localhost:8080/
. The initial credentials are defined in users.csv. So, you can login with the email[email protected]
and passwordadmin
. Change these in a production system!
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.
ip_address
is the IP address of the IXSI client system from which the WebSocket connection attempt is made.system_id
corresponds to theSystemID
element in IXSI XML messages. XML messages should contain the sameSystemID
value as the value in the database.
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).