{"id":19360221,"url":"https://github.com/pythonfreecourse/lms","last_synced_at":"2025-06-21T06:40:35.276Z","repository":{"id":37667269,"uuid":"197144561","full_name":"PythonFreeCourse/lms","owner":"PythonFreeCourse","description":"LMS allows teachers and educators to easily provide feedback on student programming work - both manually and automatically.","archived":false,"fork":false,"pushed_at":"2024-07-09T19:05:10.000Z","size":5849,"stargazers_count":113,"open_issues_count":38,"forks_count":32,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-05T18:18:12.880Z","etag":null,"topics":["classroom","education","hacktoberfest","lms","teaching"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PythonFreeCourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-16T07:36:22.000Z","updated_at":"2024-11-06T03:57:24.000Z","dependencies_parsed_at":"2024-03-26T02:25:08.840Z","dependency_job_id":"2dce1e08-a8d3-4dac-9182-6ec71bf4f927","html_url":"https://github.com/PythonFreeCourse/lms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonFreeCourse%2Flms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonFreeCourse%2Flms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonFreeCourse%2Flms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonFreeCourse%2Flms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonFreeCourse","download_url":"https://codeload.github.com/PythonFreeCourse/lms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233648603,"owners_count":18708225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classroom","education","hacktoberfest","lms","teaching"],"created_at":"2024-11-10T07:17:27.012Z","updated_at":"2025-01-12T19:07:11.179Z","avatar_url":"https://github.com/PythonFreeCourse.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python's Course LMS\n\n\u003cp align=\"center\"\u003e\n  \u003cimg title=\"BSD-3 Clause\" src=\"https://img.shields.io/github/license/PythonFreeCourse/LMS.svg\" alt=\"LMS License is BSD-3 Clause\"\u003e\n\u003c/p\u003e\n\n👋 Welcome to Python course learning management system. 🐍\n\nThe system objectives -\n\n1. Allow teachers and mentors to input exercises list and provide feedback/comments\n   to students exercises solutions.\n2. Allow students to load their exercises solutions and get feedback to their work.\n\n## Creating development environment\n\n### Prerequisites\n\n1. Linux based system - either [WSL on windows](https://docs.microsoft.com/en-us/windows/wsl/install-win10)\n   or full blown Linux.\n2. Latest Python version\n3. Docker\n\n### Minimal setup\n\nThis setup is for debug purposes and will use SQLite database and front-end only.\n\nSteps to do:\n\n1. Clone this repository.\n2. Set environment variables.\n3. Run the application.\n\n```bash\ngit clone https://github.com/PythonFreeCourse/lms\ncd lms\n\nexport FLASK_DEBUG=1\nexport LOCAL_SETUP=true\nexport FLASK_APP=lms.lmsweb\nexport PYTHONPATH=`pwd`:$PYTHONPATH\n\ncd devops\nsource dev_bootstrap.sh\n# The initial credentials should appear in your terminal. :)\n\ncd ..\nflask run  # Run in root directory\n```\n\nAfter logging in, use [localhost admin](https://127.0.0.1:5000/admin)\nto modify entries in the database.\n\n### Full setup\n\nThis setup will create the following items:\n\n* Application - LMS code.\n* Middleware (messaging queue) - RabbitMQ.\n* Persistence database - PostgreSQL.\n\nSteps to do:\n\n1. Clone this repository.\n2. Setup using docker \u0026 docker-compose.\n3. Run the application.\n\n```bash\ngit clone https://github.com/PythonFreeCourse/lms\ncd lms\ncp lms/lmsweb/config.py.example lms/lmsweb/config.py\necho \"SECRET_KEY = \\\"$(python -c 'import os;print(os.urandom(32).hex())')\\\"\" \u003e\u003e lms/lmsweb/config.py\n\ncd devops\n. ./build.sh \u0026\u0026 . ./start.sh \u0026\u0026 . ./bootstrap.sh \u0026\u0026 . ./i18n.sh\n```\n\nIn case you want to add the stub data to PostgreSQL DB, run:\n\n```bash\ndocker exec -it lms_http_1 bash\npython lmsdb/bootstrap.py\n```\n\nEnter [http://127.0.0.1:8080], and the initial credentials should appear in\nyour terminal. :)\n\nAfter logging in, use [localhost admin](https://127.0.0.1:8080/admin) to\nmodify entries in the database.\n\nIn case you want to enable the mail system:\n\n1. Insert your mail details in the configuration file.\n2. Change the `DISABLE_MAIL` line value to False.\n\n## Code modification check list\n\n## Run Flake8\n\n```bash\n# on LMS root directory\nflake8 lms\n```\n\n### Updating localization files\n\n```bash\n. devops/i18n.sh update\n```\n\nThen go to lms/lmsweb/translations to translate the strings, if needed.\n\n### Run tests\n\n```bash\nexport PYTHONPATH=`pwd`\npip install -r requirements.txt\npip install -r dev_requirements.txt\npy.test -vvv\n```\n\n### Contributing\n\nView [contributing guidelines](https://github.com/PythonFreeCourse/lms/blob/master/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonfreecourse%2Flms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonfreecourse%2Flms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonfreecourse%2Flms/lists"}