Hi all,
I trying to set up a self-hosted Linux server to run oTree in our lab, and I am not sure whether what I am seeing is expected behavior or something is wrong with my setup.
I cd to my project's folder, I set the environment variables (DATABASE_URL, OTREE_ADMIN_PASSWORD, OTREE_AUTH_LEVEL, OTREE_PRODUCTION) and I run otree resetdb. This (re)creates a db.sqlite3 file, populated with different tables (regardless of the DATABASE_URL I set).
I then run the prodserver (sudo -E env "PATH=$PATH" otree prodserver 80), input some data, and stop the server with Ctrl+C. However, if I now try to open db.sqlite3, the database seems to be empty (.tables in sqlite3 returns nothing). Is this expected behaviour, or I should check again my setup?
Thanks!
Giacomo