tillmo / two_tiered_quiz

A multiple choice quiz with justifications for the answers, written in Django
GNU Affero General Public License v3.0
0 stars 0 forks source link

switch to other database for production #55

Closed tillmo closed 4 years ago

tillmo commented 4 years ago

sqlite3 is not suited for production. Use mysql, mariadb or postgresql.

jelmd commented 4 years ago

MySQL database is available. Just provide a way to pickup the database connection parameters: DBHOST, DBPORT, DBNAME, DBUSER, DBPW. Probably the best is to store them in a separate file (e.g. json formatted) and pass the path to the file via env variable, e.g. DBPARAMS.

tillmo commented 4 years ago

the parameters can be provided in a local settings file, see #61 However, please switch to MariaDB, see #56