Skip to content
Snippets Groups Projects
Commit a4d68d00 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

### 0.0.18 Release

parent a7862e88
No related branches found
No related tags found
No related merge requests found
import sys
import subprocess
from covid19 import app
from covid19.blueprints.application.application_workers import celery
......@@ -13,7 +14,8 @@ if __name__ == '__main__':
app.logger.info("# Covid19 Data - WORKER #")
app.logger.info("#############################################################")
app.logger.info(" ")
redis_cmd = ['redis-server']
subprocess.Popen(redis_cmd, shell=True)
if sys.platform != 'linux':
redis_cmd = ['redis-server']
subprocess.Popen(redis_cmd, shell=True)
args = ['worker', '-l', 'INFO']
celery.start(args)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment