A school project using php vanilla to provide user-saved real-time information on metro stations
 
 
 
Go to file
Valentin f9d50f5b2b
Create LICENSE
2024-06-13 01:42:32 +02:00
.github/workflows Update deploy.yml 2024-06-04 18:02:00 +02:00
assets feat(login/register) blabla 2024-06-10 18:19:34 +02:00
components fix(homepage) direction mistake 2024-06-13 01:14:35 +02:00
data feat(navigate) bases of idfm integration 2024-06-04 21:50:20 +02:00
endpoints fix(update) import config in endpoints 2024-06-13 01:05:21 +02:00
services feat(navigate) navigation available and most usefull features) 2024-06-13 00:30:42 +02:00
structure feat(navigate) navigation available and most usefull features) 2024-06-13 00:30:42 +02:00
.gitignore feat(navigate) navigation available and most usefull features) 2024-06-13 00:30:42 +02:00
LICENSE Create LICENSE 2024-06-13 01:42:32 +02:00
README.MD Update README.MD 2024-06-13 01:42:02 +02:00
config_example.php feat(navigate) navigation available and most usefull features) 2024-06-13 00:30:42 +02:00
index.php feat(login/register) blabla 2024-06-10 18:19:34 +02:00
login.php feat(login/register) blabla 2024-06-10 18:19:34 +02:00
logout.php feat(login/register) blabla 2024-06-10 18:19:34 +02:00
navigate.php feat(navigate) bases of idfm integration 2024-06-04 21:50:20 +02:00
register.php feat(login/register) blabla 2024-06-10 18:19:34 +02:00

README.MD


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

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

(back to top)

License

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

(back to top)