The repo for the iRail.be webapp
JavaScript PHP HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.grunt Feature/apps page (#208) Jul 28, 2016
app Hotfix for missing import #287 Apr 22, 2018
bootstrap Removed executive rights from regular files Aug 22, 2015
config try to fix scrutinizer Aug 30, 2015
database Removed executive rights from regular files Aug 22, 2015
public SASS Fix Jan 20, 2018
resources Merge pull request #280 from iRail/feature/2717-vehicle-endpoint Feb 28, 2018
storage Feature/apps page (#208) Jul 28, 2016
tests Improved detection in accept-language #242 Jan 15, 2017
.bowerrc remove gulp and replace it with grunt. Aug 18, 2015
.editorconfig Added editorconfig.org config Aug 29, 2015
.env.example migration day 1 Aug 17, 2015
.gitattributes Deleted subdirectory, closing issue #1. Apr 16, 2014
.gitignore Feature/apps page (#208) Jul 28, 2016
.scrutinizer.yml add scrutinizer.yml Aug 30, 2015
.styleci.yml Add Laravel preset for StyleCi Aug 29, 2015
.travis.yml Update .travis.yml Oct 5, 2017
Gemfile Update sass/compass dependencies Jul 19, 2016
Gemfile.lock Bump css and js version Jul 28, 2016
Gruntfile.js remove gulp and replace it with grunt. Aug 18, 2015
LICENSE.md Use valid SPDX license Oct 12, 2016
README.md Document requirement for php_intl Mar 28, 2018
artisan add new laravel installation Aug 17, 2015
bower.json Applied StyleCI patch #262 Sep 22, 2017
composer.json Use valid SPDX license Oct 12, 2016
composer.lock Fix spitsgids #262 Sep 22, 2017
contributing.md Added link for PSR-2 coding styleguide Aug 30, 2015
package.json Use valid SPDX license Oct 12, 2016
phpunit.xml use 32 character string Aug 14, 2016
server.php Applied fixes from StyleCI Aug 30, 2015

README.md

iRail.be

Software License Dependency Status devDependency Status Build Status

iRail.be is a web-application that uses data from http://api.irail.be (source code.) to create a hyper-media driven application for the Belgian railway company.

Looking for data? Check https://hello.irail.be for more info

Features

Want more features? Please do contribute by adding feature requests. Are you a developer? We accept pull requests!

Step 0: Requirements and clone

Clone the repository:

git clone https://github.com/iRail/hyperRail.git

Set up your server software to pass requests to the hostname of your choice to public/index.php

Step 1: Install / Update dependencies

In order to install the dependencies you have to run: composer install

When installing this for the first time, also run this:

cp .env.example .env
php artisan key:generate

and edit your .env after your own taste (e.g., you may want to switch development mode off)

Step 2: Update bootstrap/start.php for environments

Optional, but can be useful.

Step 3: make app/storage writeable

chmod -R 777 storage

Step 4: Set up resources

  • npm install
  • bower install
  • grunt

Step 5: You're ready!

Usually you should be ready to get started by visiting the hostname you have set up. If it does not work, log an issue. We'll help you out and fix the documentation for everyone else.

In case you just want to update the stations list to the latest version, run: composer update

License

We hereby put this work in the public domain under a CC0 license!

Feel free to attribute us at http://hello.irail.be.