mirror of https://github.com/itsmrval/subway
|
|
||
|---|---|---|
| .github/workflows | ||
| components | ||
| data | ||
| public | ||
| services | ||
| .gitignore | ||
| LICENSE | ||
| README.MD | ||
| config_example.php | ||
| refreshData.log | ||
README.MD
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
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
-
Clone the repository
cd /my/directory git clone https://github.com/itsmrval/subway . -
Copy the example config
cp config_example.php config.php -
Change
config.phppermissionschmod 600 config.php -
Copy and rename
exemple.envcp exemple.env .env -
Complete
config.php- idfm_api_key with your IDFM PRIM account
- db_host / db_user / db_password / db_name with mysql infos.
-
Run your nginx server on
/publicdirectory
Known issues
- Some stations with RER A doesnt display timetables
License
Distributed under the MIT License. See LICENSE.txt for more information.