Skip to content

Logic LaunchPad is an intuitive platform designed specifically for teaching the C programming language.

Notifications You must be signed in to change notification settings

williamlung/Logic-Launchpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logic Launchpad

Logic LaunchPad is an intuitive platform designed specifically for teaching the C programming language. It enables educators to effortlessly create and manage question sets and test cases tailored to C programming. Students can engage with and solve these problems in a seamless environment, enhancing their understanding of C syntax, concepts, and problem-solving skills.

llp2

llp

In the manager UI, you have the ability to manage the question list for each week based on your course design. You can also create test cases to check the submitted answers.
Additionally, you can monitor each student's quota and their last submission time.

Installing the environment

Prepare the Python environment for running the backend server and frontend program
Python version: 3.10

pip install -r requirements.txt

Getting Started

Warning

This is not for production, Please check the Django Official Documentation.

Important

Before you start the Django server, make sure your Docker is able to run.
because all test cases are using the gcc Docker to compile and run the code

Create the database file.

cd backend
python manage.py migrate

Start the Django backend

python manage.py runserver 0.0.0.0:38000 --insecure

Run the manager_main.py for managing the questions set, test cases, and users.

cd frontend
python manager_main.py

After adding questions, if you want the student to work on week 1's questions, update the variable WEEK to 1 in backend/api_server/settings.py.
You can then see week 1's questions by running client_main.py

cd frontend
python client_main.py

Building the app

You can use either Windows or Mac OS to build the corresponding executable file.
It may trigger a false alarm from the OS firewall.
Please check how to add an exception for the program in Windows or Mac

cd frontend
pyinstaller client_main.py --onefile --windowed --add-data asserts\icon\ios\AppIcon~ipad.png:icon\ios\ --icon=\asserts\icon\web\icon-512.png
pyinstaller manager_main.py --onefile --windowed --add-data asserts\icon\ios\AppIcon~ipad.png:icon\ios\ --icon=\asserts\icon\web\icon-512.png

About

Logic LaunchPad is an intuitive platform designed specifically for teaching the C programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages