mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 23:38:06 +02:00
17 lines
290 B
Bash
Executable file
17 lines
290 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
function check_config() {
|
|
if [[ ! -f config/overleaf.rc ]] || [[ ! -f config/variables.env ]]; then
|
|
echo "Config files not found! exiting"
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
function __main__() {
|
|
check_config
|
|
exec ./bin/docker-compose up
|
|
}
|
|
|
|
__main__ "$@"
|