oTree Forum >

Unable to create a new room

#1 by Rainbow (edited )

Hello,
I have completed my experimental program and it has been tested on my own computer without any issues. I hope to use my own computer as a server (Windows) during the formal experiment, and so far the "otree runprodserver 8000" program has been running normally. But after entering the IP: 8000 website, I can only create a new session, and there is only one line "current rooms:" in the rooms interface, and there is no button that can be used to create rooms. I don't understand where the problem is, and I sincerely hope for your help.

#2 by BonnEconLab

You create rooms by adding lines like

ROOMS = [
    dict(
        name='whatever_you_want',
        display_name='Whatever you want',
    ),
]

to your settings.py file. See https://otree.readthedocs.io/en/latest/rooms.html#creating-rooms.

#3 by Rainbow

Oh my goodness, thank you so much. I actually asked such a foolish question. Thank you sincerely for your reply.

Write a reply

Set forum username