Using this application a game developer can come up with inspiration from Magic the Gathering artwork, then weave an amazing story.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
data
scripts
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yaml
requirements.txt

README.md

Magic Inspiration

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!

alt text

Requirements

Starting Containers

Use docker-compose to start the stacks:

$ docker-compose up

Once complete you will be able to visit the local web interface:

http://localhost:5000/

Populate Data

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

Purge Data

If you wish to purge the data, use docker-compose exec to delete documents from the datastore.

$ docker-compose exec web scripts/purge.py

Stopping Containers

When you are done with the application use docker-compose to stop the containers:

$ docker-compose down