Skip to content

Programmer Home

Renato Bellotti edited this page Apr 1, 2018 · 7 revisions

Welcome to the tq_website wiki!

Setup on Mac

Common problems

Overview of the used Python packages.

Translation of the TQ Website

Solving an error message when trying to migrate

Different issues with Django CMS

Docker: Failed building wheel for cffi

How the payment system works

Unit tests

Tips when working on the production server:

  • Always perform a backup before you change something on the server!!! The scripts responsible for this can be found in the parent directory of the source code directory on the server.
    • mysql-backup.sh: Performs a full dump of all databases. Then it encrypts the dump, removes the unencrypted directory and uploads the encrypted backup to the VSETH cloud.
    • mysql-backup-tq_website.sh: Performs a backup of the tq_website database. The backup is neither encrypted nor uploaded to the cloud!
  • Never ever use docker-compose down!!! This will "delete" the database! Use docker-compose stop and docker-compose start or docker-compose restart instead.