Skip to content

A school project using php vanilla to provide user-saved real-time information on metro stations

License

Notifications You must be signed in to change notification settings

itsmrval/subway

Repository files navigation


Logo

Subway Schedule

A school project using php vanilla to provide user-saved real-time information on metro stations

View Demo · Report Bug · Pull request

What is Subway Schedule

Note: This app is not intended for production use, but for personal or educational purposes.

Built With

This section list major frameworks/libraries used

(back to top)

Getting Started

Now let's see how to set up an subway schedule instance.

Prerequisites

First, install nginx, php and mysql on your server.
Then, create a user with a database

Installation

  1. Clone the repository

    cd /my/directory
    git clone https://github.com/itsmrval/subway .
  2. Copy the example config

    cp config_example.php config.php
  3. Change config.php permissions

    chmod 600 config.php
  4. Copy and rename exemple.env

    cp exemple.env .env
  5. Complete config.php

    • idfm_api_key with your IDFM PRIM account
    • db_host / db_user / db_password / db_name with mysql infos.
  6. Run your nginx server on /public directory

(back to top)

Known issues

  • Some stations with RER A doesnt display timetables

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

A school project using php vanilla to provide user-saved real-time information on metro stations

Topics

Resources

License

Stars

Watchers

Forks