After cloning the repo, run:
npm install
to install dependencies. Next, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
By default, your server will load cached data from the repository.
- Upgrade the keyrune package to get the latest SVGs for all the sets
- Add a new static property on the
MagicSet
class atsrc/lib/sets.ts
with the set code, the user-facing name of the set, the date the set was released on Arena, and the SVG for the set - Once Scryfall is updated, download the Oracle Cards data file here and move it to
data/scryfall-oracle-cards.json
- Run your development server with
npm run dev
, head to http://localhost:3000/admin, and run thegenerate-scryfall-index
action - Delete
data/scryfall-oracle-cards.json
- Update the root redirect in
next.config.js
to redirect to the latest set - Push to GitHub