Update manage.py

This commit is contained in:
qiaofeng1227 2023-03-08 16:31:10 +08:00 committed by GitHub
parent adf375e733
commit bc731d1e40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ def get_my_app(app_name=None):
def install_app(app_name):
# check directory
if docker.create_app_directory(app_name):
if docker.check_app_directory(app_name):
# check port
docker.check_app_compose(app_name)
cmd = "cd /data/apps/"+app_name+" && sudo docker compose up -d"