An example website using Flask, Python3 and Postgresql.
This example consists of three apps: one consists of a single page which provides information about the university department and the courses it provides, another one is an exam, and the last one is a basic admin page, which is used to add examinees, give scores for the writing section, and get the users' scores. You need to login to take the exam.
You need to create a postgresql database before running this app.
The db_create.py
file and data
directory provide examples of how to
populate the database.
The setup_website.sh
script is for use with Ubuntu and can be used
to setup this app with Flask, Postgresql and Apache.
The exam app was written for an English exam with reading, listening
and writing sections, as can be seen if you look at the exam.html
template in the templates/users
directory. However, it is also meant to be
easily customizable. If you have any questions about customization,
feel free to let me know.
GPLv3.