Skip to content

Offlineweb Bundle Template

Jigish Gohil edited this page Sep 26, 2017 · 2 revisions

This is the recommended bundle template for content to be hosted at offlineweb:

For example, bundle xyz should have the following in /home/mss/ on the install server -

  • xyz.tar (or tar.xz for highly compressible bundle). The tar must be extracted at / (tar xf xyz.tar -C /)
  • 80-xyz.html (number decides where it turns up on index page, artwork used must also be in xyz.tar if not deployed via offlinewebinfra.tar.xz)
  • xyz.service(systemd service if the service needs auto start on boot)
  • xyz (a deployment script)

See moodle and kalite bundles and deployment method for reference and clarity.

A postmsssetup script automatically run by msssetup takes care of deploying some bundles and / or mssupdate may need to be customised to install custom bundles.

From Jigish Gohil :

  • current status, nothing needs to be done, everything will work as it always did, docs need update, that can be done using mssupdate script
  • additionally, kalite/xowa/moodle etc can be installed automatically by using /home/mss/postmsssetup script
  • /home/mss/postmsssetup script is run automatically by msssetup
  • modify /home/mss/postmsssetup as per your need
  • there is nothing in it, you can put mssupdate serverip kalite ... etc

Clone this wiki locally