Metadata-Version: 2.1
Name: barrins_codex
Version: 0.3.6
Summary: "A website about MtG Duel Strategy",
Home-page: https://github.com/Spigushe/barrins-codex
Author: mcuchet
Author-email: martin.cuchet@gmail.com
License: "MIT"
Description: # Barrin's Codex
        A website about MtG Duel Commander Strategy
        
        ## Special Thanks
        I started working with [lionel-panhaleux](https://github.com/lionel-panhaleux) on a project during first lockdown (around April 2020).
        We worked on his [Codex of the Damned](https://codex-of-the-damned.org/) ([repo](https://github.com/lionel-panhaleux/codex-of-the-damned)) to support internationalisation.
        The whole structure of this project is derived from his Codex, hence the name as a small tribute.
        
        ## Contributing
        Contributions are welcome. [Pull Requests](https://github.com/Spigushe/barrins-codex/pulls) will be merged if they respect the general style.
        [Issues](https://github.com/Spigushe/barrins-codex/issues) will be dealt with as quickly as possible.
        
        This site uses [Flask](https://flask.palletsprojects.com) and [Babel](http://babel.pocoo.org)
        to generate pages dynamically and handle internationalisation.
        
        ## Installation
        To install a working developpment version of the site, use `pip`:
        
        ```bash
        python3 -m venv venv
        pip install -e ".[dev]"
        ```
        
        The first time the project is started, the page will take some time to compile a list of
        cards and their `scryfallId` to gain access to the card image. This script is also used
        to build a JSON version of a decklist.
        
        ## Run the Codex
        You can run the development version of the site using the `codex` entrypoint:
        
        ```bash
        $ codex
        * Serving Flask app "barrins_codex" (lazy loading)
        * Environment: production
          WARNING: This is a development server. Do not use it in a production deployment.
          Use a production WSGI server instead.
        * Debug mode: off
        * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
        ```
        
        You can set the `DEBUG` environment variable to activate the debug mode:
        
        ```bash
        DEBUG=1 codex
        ```
        
        ## Utils
        There are some utils provided in the codex:
        
        - decklist to JSON
        ```bash
        cd ./barrins_codex
        python ./build_deck.py PATH_TO_FILE
        ```
        
Keywords: mtg strategy duel-commander edh commander
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Other Audience
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Other/Nonlisted Topic
Description-Content-Type: text/markdown
Provides-Extra: dev
