Skip to content
This repository has been archived by the owner. It is now read-only.
A site showing results for MTG Pro Tours
JavaScript CSS HTML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
grunt
lib
src
test
.editorconfig
.eslintrc.yaml
.gitignore
Gruntfile.js
LICENSE
README.md
package-lock.json
package.json
yarn.lock

README.md

WARNING

This project is no longer actively maintained. If you are interested in becoming the primary maintainer, please e-mail me.

MTG PT Results

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.

Contributing

We are open for community contributions. You have multiple possibilities:

Pull Requests

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:

  1. Fork this repository.
  2. Edit the appropriate file in the data directory.
  3. Commit your changes to your fork. Write good commit messages.
  4. Submit a pull request.

Structure

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.

Development

Prerequisites

Installation

Install dependencies:

$ npm install

Build

Create a local build:

$ grunt

Preview

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.

You can’t perform that action at this time.