Skip to content

timo-w/mrwang

Repository files navigation

Mr Wang

A personal project to host easy-to-use teaching materials and resources. View the live site here!

Contains:

  • A quiz generator web app that uses Azure OpenAI to generate Word documents based on prompts.
  • Downloadable pupil resources from classes - where AI quizzes can be generated based on the resource
  • Photography
  • Code puzzles - a fun revision tool for practicing Visual Basic code
  • 1 of your 5 a day

Setup

git clone https://github.com/yourusername/mrwang.git
cd mrwang
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py collectstatic --noinput
python manage.py migrate
python manage.py createsuperuser --noinput
cp .env.example .env  # add your own keys

python manage.py check # just in case
python manage.py runserver

The following environment variables must be set in a .env file:

AZURE_DEPLOYMENT_NAME
AZURE_OPENAI_API_VERSION
AZURE_OPENAI_ENDPOINT
AZURE_OPENAI_KEY
DJANGO_DEBUG
DJANGO_SECRET_KEY
DJANGO_SUPERUSER_USERNAME
DJANGO_SUPERUSER_EMAIL
DJANGO_SUPERUSER_PASSWORD

About

Mr Wang Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published