Hosting MobTrib Yourself - noahm/MobileTribunal GitHub Wiki
You can easily run it yourself on any web server equiped with PHP 5, but we worked with Apache. Just check out this repository into any path within your web root and you should be good to go. Web host SSL is enabled by default, but this and some other configuration can be changed in the support/config.php file.
Dependencies
- PHP >= 5.0 (for DomDocument)
- libcurl + cURL for PHP
- OpenSSL for PHP (NOTE: OpenSSL is required for the proxy to send login information to Riot Games servers. The http host does not need SSL)
Recommended
- expires module for Apache enabled (check your httpd.conf for mod_expires.so, allows us to set several behaviors on the offline manifest file from .htaccess)
Easy Hosting Options
There are several PHP-as-a-service hosts available that will allow you to setup a server running MobTrib very quickly. You will need git installed along with any prerequisite tools for interacting with their services.
Heroku
To use Heroku be sure you create your app on the cedar stack in order to be able to run a PHP app.
$ git clone https://[email protected]/noahm/MobileTribunal.git
$ cd MobileTribunal
$ heroku create my-first-tribunal --stack cedar
$ git remote add heroku [email protected]:my-first-tribunal.git
$ git push -f heroku master