1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00
overleaf-toolkit/bin/up
2020-06-11 15:34:09 +01:00

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__ "$@"