Sign inSign up

deblobyourmind/lms-frappe

By deblobyourmind

Updated 6 months ago

Installed/Precompiled Frappe Learning https://github.com/frappe/lms

Image
Web servers
Content management system
0

351

deblobyourmind/lms-frappe repository overview

Frappe Learning

Frappe Learning is an easy-to-use learning system that helps you bring structure to your content.

Docker

You need Docker, docker-compose and git setup on your machine. Refer Docker documentation. After that, follow below steps:

Step 1: Setup folder and download the required files

mkdir frappe-learning
cd frappe-learning
Create the docker-compose file
version: "3.7"
name: lms
services:
  mariadb:
    image: mariadb:10.8
    command:
      - --character-set-server=utf8mb4
      - --collation-server=utf8mb4_unicode_ci
      - --skip-character-set-client-handshake
      - --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
    environment:
      MYSQL_ROOT_PASSWORD: 123
    volumes:
      - mariadb-data:/var/lib/mysql

  redis:
    image: redis:alpine

  frappe:
    image: deblobyourmind/lms-frappe:test
    command: bash /workspace/init.sh
    environment:
      - SHELL=/bin/bash
    working_dir: /home/frappe
    volumes:
      - .:/workspace
    ports:
      - 8000:8000
      - 9000:9000

volumes:
  mariadb-data:
Create the setup script
#!bin/bash

cd frappe-bench

sleep 60

bench new-site lms.localhost \
--force \
--mariadb-root-password 123 \
--admin-password admin \
--no-mariadb-socket

bench --site lms.localhost install-app lms
bench --site lms.localhost set-config developer_mode 1
bench --site lms.localhost clear-cache
bench use lms.localhost

bench start

Step 2: Run the container and daemonize it

docker-compose up -d

Step 3: The site http://lms.localhost:8000/lms should now be available. The default credentials are:

  • Username: Administrator
  • Password: admin

Tag summary

Content type

Image

Digest

sha256:8f04d20a1

Size

735.1 MB

Last updated

7 months ago

docker pull deblobyourmind/lms-frappe