Giter VIP home page Giter VIP logo

theoryhelper's Introduction

TheoryHelper

Easily learn for the Israeli driving theory exam for private cars.

Built using Python + Flask + Bootstrap

Doesn't use javascript!


demo image

Disclaimer

I created this site to help me prepare for the test and published it to help others. The code is open source and the site has no warranty.

What does it do?

Uses the official question repository and picks random questions from the chosen category. Uses spaced repetition (simpler variation on the Leitner system) to maximize the learning efficiency.


Deployment Guide -

Using AWS Lambda functions -

Before you begin, make sure you are running Python 3.7/3.8/3.9 (or higher if supported by the Lambda runtime) and you have a valid AWS account and your AWS credentials file is properly installed.

On Linux: create a venv - python3 -m venv env enter venv - source env/bin/activate install packages - pip3 install -r requirements-lambda.txt create cache - python3 lib/download_cache.py deploy - zappa deploy

Using Docker + Docker Compose -

  • git clone - git clone https://github.com/Bnux256/TheoryHelper.git
  • build Docker image - docker build . -t bnux256/theoryhelper
  • run service: docker compose up -d
    TheoryHelper should now be running on localhost:8000!

Directory Structure -

.
├── config.json
├── docker-compose.yml
├── Dockerfile
├── docs
│   └── images
│       └── demo.png
├── frontend
│   ├── iframe.html
│   ├── index.html
│   └── question_viewer.html
├── lib
│   ├── count_category.py
│   ├── download_cache.py
│   ├── html_parser.py
│   └─── __init__.py
├── main.py
├── questions
│   └── questions.json
├── readme.md
├── requirements-lambda.txt
├── requirements.txt
└── zappa_settings.json

theoryhelper's People

Stargazers

 avatar  avatar

Watchers

 avatar

theoryhelper's Issues

Missing Questions file

The questions/questions.json file misses from the repo. Can u at least provide a JSON template please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.