Avoid Ease-Hell!
Download and run the latest AnkiPassFail.ankiaddon
release.
Installing the add-on is all that's required. Once installed, the Easy
and
Hard
buttons are disabled along with their corresponding hotkeys 2
and
4
respectively.
<15m 2d 7d 2mo
┌───────────┐ ┌╴╴╴╴╴╴╴╴╴╴┐ ┌──────────┐ ┌╴╴╴╴╴╴╴╴╴╴┐
│ Again │ ┆ ░░░░ ┆ │ Good │ ┆ ░░░░ ┆
└───────────┘ └╴╴╴╴╴╴╴╴╴╴┘ └──────────┘ └╴╴╴╴╴╴╴╴╴╴┘
-
Install the required
[python-version]
. See the Anki development docs for more information.pyenv install [python-version]
-
Clone this repository.
git clone git@github.com:tnahs/AnkiPassFail.git
-
Set
[python-version]
as the local version:cd ./AnkiPassFail pyenv local [python-version]
-
Create and enter a virtual environment:
python -m venv .venv source .venv/bin/activate pip install --upgrade pip
-
Install required packages:
pip install -r requirements.txt
-
Set development environment variables. See Anki development | Environment Variables for more information.
Required:
export ANKI_ADDON_DEVELOPMENT=1
Optional:
export ANKIDEV=1 export LOGTERM=1 export DISABLE_QT5_COMPAT=1
-
Run Anki from the terminal.
anki