Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run this project? #21

Open
freeall opened this issue Sep 12, 2023 · 1 comment
Open

How to run this project? #21

freeall opened this issue Sep 12, 2023 · 1 comment

Comments

@freeall
Copy link

freeall commented Sep 12, 2023

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?

@jawursh
Copy link

jawursh commented Nov 30, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants