fixed docker-compose so it's now 'docker compose'

This commit is contained in:
ronnyabraham 2022-09-04 00:24:18 +03:00
parent b66c1fa18f
commit dc564de0c1
3 changed files with 5 additions and 4 deletions

View file

@ -95,7 +95,6 @@ def bootstrap():
# continue setting up the rootpath and virtualenv
setup_rootpath()
setup_virtualenv()
bootstrap_pip()

View file

@ -200,7 +200,7 @@ under "docker"
docker_service_name = configuration.docker.database.service_name
dockercompose_cmd = \
"docker-compose -f {build_path} up -d {docker_service_name}".format(
"docker compose -f {build_path} up -d {docker_service_name}".format(
build_path=build_path,
docker_service_name=docker_service_name
)

View file

@ -51,8 +51,10 @@ def setup_virtualenv(python3=True):
logging.debug("mkvirtualenv_cmd: %s" % mkvirtualenv_cmd)
logging.debug("with virtualenv_source(): run(\"\n\t%s\n\t\")".format(
mkvirtualenv_cmd))
logging.debug(
"with virtualenv_source(): "
"run(\"\n\t{mkvirtualenv_cmd}\n\t\")".format(
mkvirtualenv_cmd=mkvirtualenv_cmd))
else:
# run("source virtualenvwrapper.sh; mkvirtualenv "