项目作者: Spigushe

项目描述 :
A website about MtG Duel Strategy
高级语言: HTML
项目地址: git://github.com/Spigushe/barrins-codex.git
创建时间: 2020-12-09T22:08:10Z
项目社区:https://github.com/Spigushe/barrins-codex

开源协议:MIT License

下载


Barrin’s Codex

License
Python version
Validation
PyPI version
Code Style
Imports: isort

A website about MtG Duel Commander Strategy

Special Thanks

I started working with lionel-panhaleux
on a project during first lockdown (around April 2020). We worked on his
Codex of the Damned
(repo) 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 will be merged if they respect the general style.
  • Issues will be dealt with as quickly as possible.

This site uses Flask to generate pages
dynamically .

Installation

To install a working developpment version of the site, use pip:

  1. python3 -m venv venv
  2. source venv/bin/activate
  3. pip install -e ".[dev]"

Run the Codex

You can run the development version of the site using the codex entrypoint:

  1. $ codex
  2. * Serving Flask app "barrins_codex" (lazy loading)
  3. * Environment: production
  4. WARNING: This is a development server. Do not use it in a production deployment.
  5. Use a production WSGI server instead.
  6. * Debug mode: off
  7. * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

The Makefile has a command to start codex in debug : make codex

Versioning

The version number take the form X.Y.Z where X, Y, and Z are non-negative
integers, and do not contain leading zeroes. X is the major version, Y is the
minor version, and Z is the patch version. Each element MUST increase
numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.

Given a version number MAJOR.MINOR.PATCH, I increment the:

  1. MAJOR version when I make a backend evolution or a design evolution,
  2. MINOR version when I add content (most likely a match), and
  3. PATCH version when I make bug and typo fixes.

Additional labels for pre-release and build metadata are available as
extensions to the MAJOR.MINOR.PATCH format.