Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Admin Panel

Matt Czyr edited this page Feb 18, 2021 · 2 revisions

Admin Panel

Shuttle Tracker allows the manipulation of routes, stops, and vehicles through the admin panel. By navigating to the admin panel at shuttles.rpi.edu/admin, or localhost:8080/admin locally, you can create, edit, and delete routes, stops, and vehicles, as well as set messages to display to users.

Index

  1. Authentication
  2. Routes
  3. Stops
  4. Vehicles
  5. Messages

Authentication

Shuttle Tracker uses RPI’s Central Authentication System (CAS) to verify administrators. An administrator’s RCS ID must be added to the backend before they are able to login to the admin panel. However, the application does not store any user passwords. For more information on how to add administrators when running the application locally, see the setup guide.

Routes

In the admin panel, admins can create new shuttle routes by clicking on the map to add points. A route also requires a name, a short description, a color code, a width in pixels, and needs to be enabled or disabled. You can also schedule times during which the route will be active. Routes can also be imported from an existing Shuttle Tracker instance by clicking the "import" button at the bottom of the list of routes and uploading a JSON file.

Route Creation

Stops

A stop is a location where a shuttle will stop along its route to let passengers on and off. Stops can be created from the admin panel simply by clicking on the map where a stop should be located. A stop requires a name and a short description to help people identify it.

Stop Creation

Vehicles

RPI shuttles are equipped with iTrak GPS devices that allow Shuttle Tracker to track the locations of vehicles in real time. Each vehicle on the application has a tracker ID that corresponds to the shuttle's iTrak device. The current list of active vehicles and their tracker IDs can be found here.

You can create new vehicles from the admin panel by providing a tracker ID, a name, and whether it is enabled or disabled.

Vehicle Creation

Messages

The admin panel also allows admins to set messages that will appear as notifications to users on the home page. This message is often used to inform users of shuttle outages or route changes. All that is required is a message, an optional link, and whether the message should be visible.

Message Creation

Example Notification