#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace fi source "${BASH_SOURCE%/*}/common.sh" clean_logs ### -------------------------------- ### General variables ### -------------------------------- ROOT_FOLDER="${PWD}" STATE_FOLDER="${ROOT_FOLDER}/state" ### -------------------------------- ### Apps repository configuration ### -------------------------------- apps_repository="https://github.com/meienberger/runtipi-appstore" env_variables_json=$(cat <"${ROOT_FOLDER}/state/system-info.json" fi chmod -R a+rwx "${ROOT_FOLDER}/state/events" chmod -R a+rwx "${ROOT_FOLDER}/state/system-info.json" kill_watcher "${ROOT_FOLDER}/scripts/watcher.sh" & ### -------------------------------- ### env file generation ### -------------------------------- generate_env_file "${env_variables_json}" ### -------------------------------- ### Start the project ### -------------------------------- docker compose -f docker-compose.dev.yml up --build