BusShuttleDocker

This repository is a docker compose for replicating the local development environment.

Install Prerequisites

Clone Repos

  • Clone this repository first via the command below:
    • git clone https://github.com/hergin/BusShuttleDocker.git
  • Then, cd into the folder and clone the other repositories:

Run

Browse

  • Go to manager dashboard (http://localhost/BusShuttleManagerDashboard), login (Sample user name : local, its password: local) and add:
    • A new driver in the Drivers page
    • A new bus in the Buses page
    • A new loop in the Loops page
    • A new stop in the Stops page
    • A new inspection item in the Inspection Items page
    • Assign the newly created stop to the newly created loop in Routes page
  • Go to driver app (http://localhost:4201) and login (Sample user name : shuttle, its password: bus) and select these new driver, bus and loop.
    • Add some mileage information and check the inspection item.
    • Add some boarded and left behind.
    • Click Submit
    • Click Sign Off and Do Post Inspection
    • Check the inspection item and add some mileage information.
    • Click Finish
  • Go to manager dashboard entries page (http://localhost/BusShuttleManagerDashboard/Pages/Entries.php).
    • Select today and select the newly created loop.
    • If you see the entry you have created in this page, everything seems to be properly working.