From ed09297cf6ee4cedb61ec1620b44e93286c824de Mon Sep 17 00:00:00 2001 From: "Gallenkamp, Fabian (bax1489)" <476-bax1489@users.noreply.gitlab.rrz.uni-hamburg.de> Date: Tue, 22 Oct 2019 11:58:06 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07096a6..56433b0 100755 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Note: Use ``scp mycert.crt user@host:/home/user/`` and ``scp mycert.key user@hos ``git clone https://gitlab.rrz.uni-hamburg.de/bax1489/otree-ansible.git /opt/otree/otree-ansible/`` -### relocate postgres db, if you're not using your root disk +### [relocate postgres db, if you're not using your root disk](https://www.digitalocean.com/community/tutorials/how-to-move-a-postgresql-data-directory-to-a-new-location-on-ubuntu-18-04) ## change the configuration of the desired otree server with all installed instances After setting your desired configuration you are ready to run the playbook. @@ -107,8 +107,8 @@ otree_users: ### I see "TypeError: __init__() missing 1 required positional argument: 'on_delete'"? Most likely an older otree version has to be configured. Set ``otree==<desired_version>`` in ``requirements_base.txt``. Since Django 2.0 the "on_delete" parameter is required in a model and needs to be added in your code or in the included apps (e.g otree-tools). -### I see "ModuleNotFoundError: No module named '<someexperimentname>'"? -Remove the definition in variable ``SESSION_CONFIGS`` from ``settings.py``. +### I see "ModuleNotFoundError: No module named '``<someexperimentname>``'"? +Remove the definition in variable ``SESSION_CONFIGS`` from ``settings.py```or add the corresponding code to your otree project. ### I see "ModuleNotFoundError: No module named 'otree_tools'"? Add ``otree_tools==<desired_version>`` in ``requirements_base.txt``. -- GitLab