Sign inSign up

offlineinternet/karibu

By offlineinternet

•Updated about 3 years ago

A FLE app based on Moodle

Image
0

1.1K

offlineinternet/karibu repository overview

⁠Karibu

A FLE app for OLIP, based on Moodle, with the #FF5B29 color.

⁠status

First version.

⁠Usage

Default credentials: admin/password

⁠Build

The App is crafted from a Moodle instance, which we export to this image.

As we don't want to git commit the whole Moodle codebase and its courses, we export the data from the Moodle VM to a offlineinternet/karibu:data image, then we COPY the required files to the final image.

⁠Moodle VM export

In order to export the data from the VM, copy the required script to the VM:

scp export-karibu-from-vm.sh [email protected]:

Then, from the VM, run the script:

# ./export-karibu-from-vm.sh
[+] Export database...
[+] Build data image...
sha256:697587899ad19b801b010d7475087489816e823e0048f936fcb502d8851c57cd
[+] Done. Please push offlineinternet/karibu:data

The result is a Docker Image with a single layer:

/
├── /moodle/
└── /moodledata/
└── /karibu.sql

Then push the image (this require to authenticate to the Docker Hub):

docker push offlineinternet/karibu:data
⁠Build the final image

Finaly, from your local dev environment, build the Karibu App image:

docker build -t offlineinternet/karibu:latest .

Tag summary

Content type

Image

Digest

sha256:6f2995b64…

Size

731.5 MB

Last updated

over 3 years ago

docker pull offlineinternet/karibu