Skip to content

Commit 8a686c7

Browse files
authored
added missing step to the DevSetup (#288)
subj Signed-off-by: Alexander Piskun <[email protected]>
1 parent e1f0a6b commit 8a686c7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/DevSetup.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ We highly recommend to use `Julius Haertl docker setup <https://github.com/juliu
55

66
Development of `nc-py-api` can be done on any OS as it is a **pure** Python package.
77

8-
Suggested IDE: **PyCharm**, but of course you can use any IDE you like for this like **VS Code** or **Vim**.
8+
.. note:: We suggest to use **PyCharm**, but of course you can use any IDE you like for this like **VS Code** or **Vim**.
99

1010
Steps to setup up the development environment:
1111

@@ -39,7 +39,11 @@ Steps to setup up the development environment:
3939

4040
pre-commit install
4141

42-
#. If ``deploy daemon`` is registered for AppAPI, register **nc_py_api** as an application with :command:`shell`::
42+
#. Run `nc_py_api` with appropriate PyCharm configuration(``register_nc_py_api(xx)``) or if you are not using PyCharm execute this command in the :command:`shell`::
43+
44+
APP_ID=nc_py_api APP_PORT=9009 APP_SECRET=12345 APP_VERSION=1.0.0 NEXTCLOUD_URL=http://nextcloud.local APP_HOST=0.0.0.0 python3 tests/_install.py
45+
46+
#. In a separate terminal while the ``nc_py_api`` **_install.py** script is running execute this command in the :command:`shell`::
4347

4448
make register28
4549

0 commit comments

Comments
 (0)