Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 905 Bytes

development.md

File metadata and controls

36 lines (27 loc) · 905 Bytes

Setup Addons Development Environment

Install Python 3.9

Download and install from
https://www.python.org/downloads/release/python-390

Install PyCharm

Download and install from
https://www.jetbrains.com/pycharm/download

Clone and open this repository in Pycharm

  1. Clone this repository
git clone https://github.com/krmanik/Sentence-Adder-Anki-Addon.git
  1. Open this repository in PyCharm

Open terminal and install required packages

  1. Open Python terminal in PyCharm from left side
  2. Install required packages
pip install requirements.txt

Create Symlink for src to Anki2/addons/ dir

  1. On Windows, open Command Prompt as Administrator
  2. Change directory to Sentence-Adder-Anki-Addon projects
  3. Then create symlink using mklink
cd Sentence-Adder-Anki-Addon
mklink /J %appdata%\Anki2\addons21\1682655437     src