mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
added notes for running Anki from PyCharm with dev profile
This commit is contained in:
parent
d367044da2
commit
0140c5323e
1 changed files with 12 additions and 0 deletions
|
@ -163,6 +163,10 @@ These notes are proscriptive, other methods will work (such as a different Bash/
|
||||||
While some of this list is in an arbitrary order, significant steps are in a specific order, therefore it is strongly
|
While some of this list is in an arbitrary order, significant steps are in a specific order, therefore it is strongly
|
||||||
recommended to follow these instructions step-by-step.
|
recommended to follow these instructions step-by-step.
|
||||||
|
|
||||||
|
- if you study Anki in the same environment as you develop software:
|
||||||
|
- create a new Anki profile so that your decks aren't "upgraded" to the dev version
|
||||||
|
- make a note of that [dev profile name]
|
||||||
|
|
||||||
- Python and PyCharm are a given if you are choosing this path and should be the first and second step respectively.
|
- Python and PyCharm are a given if you are choosing this path and should be the first and second step respectively.
|
||||||
|
|
||||||
- close PyCharm, if it's open.
|
- close PyCharm, if it's open.
|
||||||
|
@ -241,6 +245,14 @@ While some of this list is in an arbitrary order, significant steps are in a spe
|
||||||
|
|
||||||
- add .idea folder to your global .gitignore (not the local .gitignore in the cloned repo)
|
- add .idea folder to your global .gitignore (not the local .gitignore in the cloned repo)
|
||||||
|
|
||||||
|
- if you study Anki in the same environment as you develop software:
|
||||||
|
- right click on the "run" file in the root of the PyCharm Anki folder
|
||||||
|
- click "Edit 'run'..."
|
||||||
|
- in Script options enter:
|
||||||
|
- "-p [dev profile name]"
|
||||||
|
- without the quotes
|
||||||
|
- click "Ok"
|
||||||
|
|
||||||
- from project root run:
|
- from project root run:
|
||||||
- pip install -r qt/requirements.qt
|
- pip install -r qt/requirements.qt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue