-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter logs #27
base: master
Are you sure you want to change the base?
Filter logs #27
Conversation
src/cumulus/cli.py
Outdated
with open(LOGFILE, 'a') as log_file: | ||
print ('Initializing {0}...'.format(service)) | ||
subprocess.call([DOCKER_COMPOSE, "run", service, "INIT"], stdout=log_file, stderr=subprocess.STDOUT) | ||
subprocess.call([DOCKER_COMPOSE, "rm", "-f", service], stdout=log_file, stderr=subprocess.STDOUT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check if there was an error before we say it was initialized?
src/cumulus/cli.py
Outdated
subprocess.call([DOCKER_COMPOSE, "up", "-d", service]) | ||
print ('{0} Started!'.format(service)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is outdated, I provide the url they can hit to see the web app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is outdated. I have to merge manually, so that's probably one of the reasons why.
Do we just want to leave it then? Doesn't matter to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this for initialization, they don't need to know about starting and removing the containers!
No description provided.