Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 28 lines (19 sloc) 462 Bytes
#!/usr/bin/env python3
from utils.settings import BASE_DIR, load_config
import subprocess
import os
def stop( env ):
# run application
subprocess.call(
"docker-compose down",
shell=True,
env=env
)
if __name__ == '__main__':
from argparse import ArgumentParser
config = load_config()
parser = ArgumentParser(
description="stop the webserver"
)
args = parser.parse_args()
stop( config )