Skip to content

Commit

Permalink
user instructions require config.db.commit() as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Dec 14, 2023
1 parent 0d1dc05 commit ad59aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def update_config_from_environment(CONFIG_FILE, config_parser):
if frontend_port != public_port:
print(f"Exposed PUBLIC_PORT {public_port} from .env file not included in Server Name; if you are not using a reverse proxy, you may need to update the Server Name variable.")
print(f"You can do so by running the following command if you do not have access to the 4CAT frontend Control Panel:\n"
f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');\"")
f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');config.db.commit();\"")

print(f"\nStarting app\n"
f"4CAT is accessible at:\n"
Expand Down

0 comments on commit ad59aab

Please sign in to comment.