MTG-Card-Reader-Web icon indicating copy to clipboard operation
MTG-Card-Reader-Web copied to clipboard

How to run this project?

Open freeall opened this issue 2 years ago • 1 comments

This project looks really amazing and the demo site works super well. When I wanted to run it myself I thought it was a bit hard to know where to get started. Do you have any documentation on how to run this?

freeall avatar Sep 12 '23 07:09 freeall

@freeall I made some progress getting it to run, but there's a lot of undocumented steps & I couldn't get card detection to work.

I'm on a m1 mac so your setup might be a little different:

setup

download allPrintings from mtg json & place in resources/AllPrintings.json

setup poetry environment for dependencies

install poetry with pipx

pipx install poetry

upgrade numpy(optional ... I had to run this because I'm on m1 mac & ran into dependency issues)

poetry add numpy@latest

install dependencies with poetry

poetry install

run the app

start the poetry shell

poetry shell

run the bottle app to start the server

python bottle_app.py

jawursh avatar Nov 30 '23 17:11 jawursh