This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sqlite3 | |
from datetime import datetime, date | |
from typing import Tuple, Dict, List | |
import getpass | |
from mattermostdriver import Driver | |
import pathlib | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script: | |
# - installs Docker with all prerequisites | |
# - configures the system to run Docker without root | |
# - configures Docker to start on boot with systemd | |
# - moves the Docker root to the home directory | |
# Configuration section | |
NEW_DOCKER_ROOT_DIR=$HOME/docker-root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script installs or updates a self-hosted version of StudyU and Supabase locally using Docker. | |
# In order to run it securely, the default settings have to be modified by creating a copy of the following files: | |
# flutter_common/lib/envs/.env.selfhost | |
# docker/.env.example | |
# docker/volumes/api/kong.yml | |
# The customized copy of these files (with respect to their subdirectories) should be placed at: $CONF_FILE_LOC (see below) |