pythonbrad / tamnza

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

Home Page:https://resulam.com/tamnza

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://resulam.com/tamnza

License:MIT License


Languages

Language:PHP 81.4%Language:Shell 17.8%Language:CSS 0.7%Language:Dockerfile 0.1%