From f493bd539d53350347b727fd13a00e7ee2515036 Mon Sep 17 00:00:00 2001 From: Marcin Gordziejewski Date: Wed, 16 Feb 2022 00:12:08 +0100 Subject: [PATCH 1/2] Add .editorconfig entry for .rst files to enforce space indentation --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 439867898..892e1dd13 100644 --- a/.editorconfig +++ b/.editorconfig @@ -21,6 +21,9 @@ indent_style = space [*.yml] indent_style = space +[*.rst] +indent_style = space + # Tests don't get a line width restriction. It's still a good idea to follow # the 79 character rule, but in the interests of clarity, tests often need to # violate it. From 895781c5a3f455f35014f3111adbf44509adbdf2 Mon Sep 17 00:00:00 2001 From: Marcin Gordziejewski Date: Wed, 16 Feb 2022 00:12:32 +0100 Subject: [PATCH 2/2] Add a note in extending.rst on python version requirements and pyenv suggestion --- docs/extending.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/extending.rst b/docs/extending.rst index 11f340b27..a864b43fd 100644 --- a/docs/extending.rst +++ b/docs/extending.rst @@ -54,11 +54,12 @@ To do the setup you need to perform the steps from the following chapters in a c docker run -d -p 6379:6379 -restart unless-stopped redis:latest 6. Install the python dependencies by performing in the src/ directory. - .. code:: shell-session pipenv install --dev + * Make sure you're using python 3.9.x or lower. Otherwise you might get issues with building dependencies. You can use `pyenv `_ to install a specific python version. + 7. Generate the static UI so you can perform a login to get session that is required for frontend development (this needs to be done one time only). From root folder: .. code:: shell-session