- This depends on: [latest Git] [latest Node.js]
- Clone this repository with:
git clone https://github.com/maxsaystransrights/tokeimon.git && cd tokeimon - Install dependencies with:
npm install. - Load a
.jsonfile, scraped with usage scraper into./src/dataand re-name it tousage-data.json.- For your convenience, there is a "demo" file loaded in that directory with Generation 7 OU usage statistics loaded.
- Run:
npm startand head tolocalhost:3000! - Note: Due to the nature of the React development server,
usage-data.jsonis hot-swappable using this method.
Alternatively:
- Load a
.jsonfile, scraped with usage scraper into./src/dataand re-name it tousage-data.json. - Run:
npm run buildand serve the./builddirectory with your HTTP server of choice.- With this method, you will not be able to load a new
.jsonfile until you re-build.
- With this method, you will not be able to load a new
