Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.37 KB

Smogon Usage Statistics Viewer

Screenshot Preview Landorus-T usage stats

Pre-installation

Installation

  • Clone this repository with:
    git clone https://github.com/maxsaystransrights/tokeimon.git && cd tokeimon
  • Install dependencies with: npm install.
  • Load a .json file, scraped with usage scraper into ./src/data and re-name it to usage-data.json.
    • For your convenience, there is a "demo" file loaded in that directory with Generation 7 OU usage statistics loaded.
  • Run: npm start and head to localhost:3000!
  • Note: Due to the nature of the React development server, usage-data.json is hot-swappable using this method.

Alternatively:

  • Load a .json file, scraped with usage scraper into ./src/data and re-name it to usage-data.json.
  • Run: npm run build and serve the ./build directory with your HTTP server of choice.
    • With this method, you will not be able to load a new .json file until you re-build.