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

18 lines
290 B
Text
Raw Permalink Normal View History

2020-06-02 14:20:23 +01:00
#! /usr/bin/env bash
set -euo pipefail
function check_config() {
2020-06-11 15:34:09 +01:00
if [[ ! -f config/overleaf.rc ]] || [[ ! -f config/variables.env ]]; then
echo "Config files not found! exiting"
exit 1
fi
}
2020-06-02 14:20:23 +01:00
function __main__() {
check_config
2020-06-02 14:20:23 +01:00
exec ./bin/docker-compose up
}
__main__ "$@"