commit | 854e9a0bcd74b3de4b411169f38a0c44e0e4d2d4 | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Sun Aug 22 17:22:06 2021 +0200 |
committer | avm99963 <me@avm99963.com> | Sun Aug 22 17:24:44 2021 +0200 |
tree | c80377d8e628972d20693071857ac5904252e24b | |
parent | a19bf1d8fda65ef4acfa6b981bb8154b8d3179da [diff] |
Add step to run cron script in README.md Change-Id: Iceb768bff97cbe06b9e13f90714473237a48df93
Schedule viewer for the Barcelona subway.
ZipArchive
and PDO
classes (specifically install the PDO_SQLITE
driver)config.default.php
file to config.php
and fill in the details (you can get an API key directly from TMB here.$conf["databaseFile"]
enter the absolute path of the location where you want to save your database (including the file name). If the website is located in the /var/www/html/schedules/
folder, you can create a new files
folder there and set the variable to /var/www/html/schedules/files/gtfs.sqlite3
.cron/parsegtfs.php
script regularly to get updated information (e.g. once a week).