Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.
/ tamnza Public archive

Tamnza is a quiz application in which, teachers can create quizzes and students can sign up and take quizzes related to their interests.

License

Notifications You must be signed in to change notification settings

pythonbrad/tamnza

Repository files navigation

Tamnza

PHP

Tamnza is a quiz application in which, teachers can create quizzes and students can sign up and take quizzes related to their interests.

Inspired from How to Implement Multiple User Types with Django.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/pythonbrad/tamnza.git

Create the database:

mysql <<< "CREATE DATABASE IF NOT EXISTS tamnza;"

Initialize database:

php ./tamnza/tamnza/initdb.php

Load dummy data:

php ./tamnza/tamnza/initdummydata.php

Add more subject (On Linux) (Optional)

for subject in Nufi Ghomala Yemba Medumba; do
    mysql -D tamnza <<< "INSERT INTO classroom_subject (id, name, color) VALUES (null, \"$subject\", \"green\")";
done

Set your environment (On Linux)

MYSQL_DATABASE=tamnza
MYSQL_ROOT_HOST=localhost
MYSQL_USERNAME=root
MYSQL_PASSWORD=secret

Finally, run the development server:

php -S 127.0.0.1:8000

The project will be available at 127.0.0.1:8000.

Why not a docker image

Our docker image is available on Docker Hub

Overview

Overview

License

This project is licensed under the terms of the MIT license.

About

Tamnza is a quiz application in which, teachers can create quizzes and students can sign up and take quizzes related to their interests.

Topics

Resources

License

Stars

Watchers

Forks

Languages