wiki:InstallingTheCode

Installing the code

Currently we do not have a stable release.

You can however install an unstable version by getting the code of our  Github page and putting them on a PHP capable Apache or nginx server. If you run the iRail software on a different webserver (such as lighttpd), please commit your redirection rules (".htaccess").

PHP needs to have PECL-HTTP installed.

To install PECL-HTTP on Debian:

  • apt-get install php-pear php5-dev libcurl3-openssl-dev
  • pecl install pecl_http

To set up the MySQL logging for the API requests, follow the guidelines here.

You can find the required  nginx and  Apache rewrite rules on Github.