Skip to content
Snippets Groups Projects
Commit ed09297c authored by Gallenkamp, Fabian's avatar Gallenkamp, Fabian
Browse files

Update README.md

parent 4466ad05
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ Note: Use ``scp mycert.crt user@host:/home/user/`` and ``scp mycert.key user@hos ...@@ -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/`` ``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 ## change the configuration of the desired otree server with all installed instances
After setting your desired configuration you are ready to run the playbook. After setting your desired configuration you are ready to run the playbook.
...@@ -107,8 +107,8 @@ otree_users: ...@@ -107,8 +107,8 @@ otree_users:
### I see "TypeError: __init__() missing 1 required positional argument: 'on_delete'"? ### 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). 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>'"? ### I see "ModuleNotFoundError: No module named '``<someexperimentname>``'"?
Remove the definition in variable ``SESSION_CONFIGS`` from ``settings.py``. 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'"? ### I see "ModuleNotFoundError: No module named 'otree_tools'"?
Add ``otree_tools==<desired_version>`` in ``requirements_base.txt``. Add ``otree_tools==<desired_version>`` in ``requirements_base.txt``.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment