Magic Inspiration is a Python Flask application with a MongoDB datastore, the stack runs inside Docker with the help of docker-compose.
Using this application a game developer can come up with inspiration from Magic the Gathering artwork, then weave an amazing story.
This application was made possible using Scryfall's bulk data files, a big thanks to them for providing an awesome data set!
docker-compose to start the stacks:
$ docker-compose up
Once complete you will be able to visit the local web interface:
Once you've started the containers, use
docker-compose exec to populate the datastore
using the Magic the Gathering set short code.
$ docker-compose exec web scripts/populate.py GRN RTR GTC DGM RAV
If you wish to purge the data, use
docker-compose exec to delete documents from the datastore.
$ docker-compose exec web scripts/purge.py
When you are done with the application use
docker-compose to stop the containers:
$ docker-compose down