Added README.md and LICENSE

Change-Id: I29191fa43d0015e094c0e72aaf2fd463afc2004f
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d680da1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2020 Adrià Vilanova Martínez (avm99963)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..af5323e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# schedules
+Schedule viewer for the Barcelona subway.
+
+## Installation
+1. Clone this repository (usually in Apache's publicly accessible folder).
+2. Install PHP 7.2+ with the `ZipArchive` and `PDO` classes (specifically install the `PDO_SQLITE` driver)
+3. Copy the `config.default.php` file to `config.php` and fill in the details (you can get an API key directly from TMB [https://developer.tmb.cat/](here)).
+  - In `$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`.
+
+## Notes
+- As I've been able to see when using this app around Barcelona, the schedules provided by TMB are a very vague approximation of the departure times for all lines except for the automated lines. In the case of the automated lines, the timing is precise within a second.
+- As of now, the timezone set in the server must be Europe/Madrid (because of the way sqlite3 treats timezones). Otherwise, the app will not work properly.