This project is no longer actively maintained. If you are interested in becoming the primary maintainer, please e-mail me.
A static site showing results for every MTG Pro Tour (as much as we've been able to find). The display code is fairly simple – most of the work was in data gathering.
We are open for community contributions. You have multiple possibilities:
If you want to make any changes or corrections yourself make them to the files
in the data
directory. To add a new tournament, simply create a new file that
matches the format of the existing files:
- Fork this repository.
- Edit the appropriate file in the
data
directory. - Commit your changes to your fork. Write good commit messages.
- Submit a pull request.
The site loads all data from the data
directory. From this it
generates the following derived views:
players.js
recent.js
tournaments.js
which correspond to the views for …
- … player pages,
- … the recent tournament view (the initial page that includes tournament summaries)
- … and the detailed tournament views.
Install dependencies:
$ npm install
Create a local build:
$ grunt
Start a local web server in the build folder:
$ grunt serve
You can then test your changes in your browser, at localhost:8000
.
Once you have verified your change looks good, submit the pull request.