Skip to content

Instantly share code, notes, and snippets.

View corro's full-sized avatar

Robin Baumgartner corro

  • Bern, Switzerland
View GitHub Profile
#!/usr/bin/env python3
import sys
import json
import yaml
import argparse
import collections
'''
Script to convert the output of the ILIAS status command (setup/cli.php status)
into a valid JSON install configuration (install.json)
#!/bin/bash
ILIAS_DIR="/var/www/ilias"
ILIAS_DATA_DIR="/var/iliasdata/ilias"
ILIAS_SETUP_IP=
ILIAS_UPLOAD_LIMIT="500M"
ILIAS_SESSION_LIFETIME="3600"
# Ensure dependencies are installed
apt-get install \
mariadb-server \