Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.51 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.51 KB

Ormos

Ormos is a web app for keeping inventory of Magic: the Gathering cards. It is an open-source, self-hosted alternative to existing services such as Deckbox and TappedOut.net. It also provides an interactive database of all Magic cards ever printed, similar to the official Gatherer database and others such as Scryfall. Ormos is named after the Magic card Ormos, Archive Keeper.

Dependencies

This project uses MariaDB 10.6 (LTS).

You will need Bash and jq in order to generate the initial database import.

Setup

This project uses MTGJSON v5.2 to obtain the base card data. To generate the database import, create a folder mtgjson, download the MTGJSON files AtomicCards.json, AllPrintings.json, and SetList.json, saving them in that folder, and then run ./generate-ormos-data.sh > ormos-data.sql. You can then create the database schema and import the data by sourcing the files ormos-schema.sql and ormos-data.sql in MariaDB. (WARNING! Doing this will overwrite/delete any existing data in the database/schema named ormos, if you already have one. This includes your inventory data!)

SOURCE ormos-schema.sql;
SOURCE ormos-data.sql;