diff --git a/.github/batch.png b/.github/batch.png new file mode 100644 index 000000000..c40712210 Binary files /dev/null and b/.github/batch.png differ diff --git a/.github/certificate.png b/.github/certificate.png new file mode 100644 index 000000000..5e982f40d Binary files /dev/null and b/.github/certificate.png differ diff --git a/.github/hero.png b/.github/hero.png new file mode 100644 index 000000000..65bf587a7 Binary files /dev/null and b/.github/hero.png differ diff --git a/.github/lms-logo.png b/.github/lms-logo.png new file mode 100644 index 000000000..db384e7b0 Binary files /dev/null and b/.github/lms-logo.png differ diff --git a/.github/quiz.png b/.github/quiz.png new file mode 100644 index 000000000..fedf3f041 Binary files /dev/null and b/.github/quiz.png differ diff --git a/README.md b/README.md index 0a8090732..be054c583 100644 --- a/README.md +++ b/README.md @@ -1,115 +1,174 @@ -

- - Frappe LMS - -

Easy to use, open source, learning management system.

-

+
+Frappe Learning logo +

Frappe Learning

-  +**Easy to use, open source, Learning Management System** -

- Frappe LMS - Easy to use, 100% open source learning management system | Product Hunt -

+![Tests](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/vandxn/main&style=flat&logo=cypress) + +
-
- - - +
+ Hero Image +
+
+
+ Website + - + Documentation
-  +## Frappe Learning +Frappe Learning is an easy-to-use learning system that helps you bring structure to your content. + +## Motivation +In 2021, we were looking for a Learning Management System to launch [Mon.School](https://mon.school) for FOSS United. We checked out Moodle, but it didn’t feel right. The forms were unnecessarily lengthy and the UI was confusing. It shouldn't be this hard to create a course right? So I started making a learning system for Mon.School which soon became a product in itself. The aim is to have a simple platform that anyone can use to launch a course of their own and make knowledge sharing easier. + +## Key Features -

- - cypress - - - license - -

+- **Structured Learning**: Design a course with a 3-level hierarchy, where your courses have chapters and you can group your lessons within these chapters. This ensures that the context of the lesson is set by the chapter. -Lesson +- **Live Classes**: Group learners into batches based on courses and duration. You can then create Zoom live class for these batches right from the app. Learners get to see the list of live classes they have to take as a part of this batch. + +- **Quizzes and Assignments**: Create quizzes where questions can have single-choice, multiple-choice options, or can be open ended. Instructors can also add assignments which learners can submit as PDF's or Documents. + +- **Getting Certified**: Once a learner has completed the course or batch, you can grant them a certificate. The app provides an inbuilt certificate template. You can use this or else create a template of your own and use that instead.
- Show more screenshots - ss1 - ss2 - ss3 +View Screenshots + + +![Batch](.github/batch.png) +
+ + Create batches to group your learners + +
+
+ + +![Quiz](.github/quiz.png) +
+ + Evaluate their knowledge by quizzes + +
+
+ + +![Cerficicate](.github/certificate.png) +
+ + Autenticate their work with certification + +
-Frappe LMS is an easy-to-use, open-source learning management system. You can use it to create and share online courses. The app has a clear UI that helps students focus only on what's important and assists in distraction-free learning. -You can create courses and lessons through simple forms. Lessons can be in the form of text, videos, quizzes or a combination of all these. You can keep your students engaged with quizzes to help revise and test the concepts learned. Course Instructors and Students can reach out to each other through the discussions section available for each lesson and get queries resolved. +## Under the Hood -## Features -- Create online courses. 📚 -- Add detailed descriptions and preview videos to the course. 🎬 -- Add videos, quizzes, and assignments to your lessons and make them interesting and interactive 📝 -- Discussions section below each lesson where instructors and students can interact with each other. 💬 -- Create batches to group your students based on courses and track their progress 🏛 -- Statistics dashboard that provides all important numbers at a glimpse. 📈 -- Job Board where users can post and look for jobs. 💼 -- People directory with each person's profile page 👨‍👩‍👧‍👦 -- Set cover image, profile photo, short bio, and other professional information. 🦹🏼‍♀️ -- Simple layout that optimizes readability 🤓 -- Delightful user experience in overall usage ✨ +- [**Frappe Framework**](https://github.com/frappe/frappe): A full-stack web application framework. -## Tech Stack +- [**Frappe UI**](https://github.com/frappe/frappe-ui): A Vue-based UI library, to provide a modern user interface. -Frappe LMS is built on [Frappe Framework](https://frappeframework.com) which is a batteries-included python web framework. -These are some of the tools it's built on: -- [Python](https://www.python.org) -- [Redis](https://redis.io/) -- [MariaDB](https://mariadb.org/) -- [Socket.io](https://socket.io/) +## Production Setup -## Local Setup +### Managed Hosting -### Docker -You need Docker, docker-compose, and git setup on your machine. Refer to [Docker documentation](https://docs.docker.com/). After that, run the following commands: -``` -git clone https://github.com/frappe/lms -cd apps/lms/docker -docker-compose up -``` +You can try [Frappe Cloud](https://frappecloud.com), a simple, user-friendly and sophisticated [open-source](https://github.com/frappe/press) platform to host Frappe applications with peace of mind. + +It takes care of installation, setup, upgrades, monitoring, maintenance and support of your Frappe deployments. It is a fully featured developer platform with an ability to manage and control multiple Frappe deployments. + +
+ + + + Try on Frappe Cloud + + +
+ +### Self Hosting -Wait for some time until the setup script creates a site. After that, you can access `http://localhost:8000` in your browser and the app's login screen should appear. -You'll have to go through the setup wizard to set up the website the first time you access it. Log in using the following credentials to complete the setup wizard. +Follow these steps to set up Frappe Learning in production: +**Step 1**: Download the easy install script + +```bash +wget https://frappe.io/easy-install.py ``` -Username: Administrator -password: admin + +**Step 2**: Run the deployment command + +```bash +python3 ./easy-install.py deploy \ + --project=learning_prod_setup \ + --email=your_email.example.com \ + --image=ghcr.io/frappe/learning \ + --version=stable \ + --app=learning \ + --sitename subdomain.domain.tld ``` -### Frappe Bench +Replace the following parameters with your values: +- `your_email.example.com`: Your email address +- `subdomain.domain.tld`: Your domain name where Learning will be hosted -Currently, this app depends on the `develop` branch of [frappe](https://github.com/frappe/frappe). +The script will set up a production-ready instance of Frappe Learning with all the necessary configurations in about 5 minutes. -1. Setup frappe-bench by following [this guide](https://frappeframework.com/docs/v14/user/en/installation) -1. In the frappe-bench directory, run `bench start` and keep it running. Open a new terminal session and cd into the `frappe-bench` directory. -1. Run the following commands: - ```sh - bench new-site lms.test - bench get-app lms - bench --site lms.test install-app lms - bench --site lms.test add-to-hosts +## Development Setup - 1. Now, you can access the site at `http://lms.test:8000` +### Docker +You need Docker, docker-compose and git setup on your machine. Refer [Docker documentation](https://docs.docker.com/). After that, follow below steps: -## Deployment -Frappe LMS is an app built on top of the Frappe Framework. So, you can follow any deployment guide for hosting a Frappe Framework-based site. +**Step 1**: Setup folder and download the required files -### Managed Hosting -Frappe LMS can be deployed in a few clicks on [Frappe Cloud](https://frappecloud.com/marketplace/apps/lms). + mkdir frappe-learning + cd frappe-learning -### Self-hosting -If you want to self-host, you can follow official [Frappe Bench Installation](https://github.com/frappe/bench#installation) instructions. + # Download the docker-compose file + wget -O docker-compose.yml https://raw.githubusercontent.com/frappe/lms/develop/docker/docker-compose.yml -## Bugs and Feature Requests -If you find any bugs or have a feature idea for the app, feel free to report them here on [GitHub Issues](https://github.com/frappe/lms/issues). Make sure you share enough information (app screenshots, browser console screenshots, stack traces, etc) for project maintainers. + # Download the setup script + wget -O init.sh https://raw.githubusercontent.com/frappe/lms/develop/docker/init.sh -## License -Distributed under [GNU AFFERO GENERAL PUBLIC LICENSE](license.txt) +**Step 2**: Run the container and daemonize it + + docker compose up -d + +**Step 3**: The site [http://lms.localhost:8000/lms](http://lms.localhost:8000/lms) should now be available. The default credentials are: +- Username: Administrator +- Password: admin + +### Local + +To setup the repository locally follow the steps mentioned below: + +1. Install bench and setup a `frappe-bench` directory by following the [Installation Steps](https://frappeframework.com/docs/user/en/installation) +1. Start the server by running `bench start` +1. In a separate terminal window, create a new site by running `bench new-site learning.test` +1. Map your site to localhost with the command `bench --site learning.test add-to-hosts` +1. Get the Learning app. Run `bench get-app https://github.com/frappe/lms` +1. Run `bench --site learning.test install-app lms`. +1. Now open the URL `http://learning.test:8000/lms` in your browser, you should see the app running + +## Learn and connect + +- [Telegram Public Group](https://t.me/frappelms) +- [Discuss Forum](https://discuss.frappe.io/c/lms/70) +- [Documentation](https://docs.frappe.io/learning) +- [YouTube](https://www.youtube.com/channel/UCn3bV5kx77HsVwtnlCeEi_A) + +
+
+
+ + + + Frappe Technologies + + +
diff --git a/frontend/src/components/Assessments.vue b/frontend/src/components/Assessments.vue index 55c849dd7..ac0664ef9 100644 --- a/frontend/src/components/Assessments.vue +++ b/frontend/src/components/Assessments.vue @@ -1,7 +1,7 @@