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

dev for Milestone 0.0.14

parent 7e8f36dc
No related branches found
No related tags found
2 merge requests!161Issue 66 attempt 01,!160Issue 66 attempt 01
graft covid19/static
graft covid19/templates
global-exclude *.pyc
\ No newline at end of file
......@@ -8,3 +8,4 @@ SECRET_KEY='vfdjv423ndf654&%%'
APP_DEBUGGER_ACTIVE = True
CELERY_CONF_WORKER_SEND_TASK_EVENTS = True
CELERY_CONF_TASK_SEND_SENT_EVENT = True
PORT = 9090
from database import app, run_run_with_debug
from database import app, run_run_with_debug, port
import covid19.views
......@@ -13,4 +13,4 @@ if __name__ == '__main__':
app.logger.info("# Covid19 Data - WEB #")
app.logger.info("#############################################################")
app.logger.info(" ")
app.run(debug=run_run_with_debug)
app.run(debug=run_run_with_debug, port=port)
......@@ -7,6 +7,7 @@ from logging.config import dictConfig
app = Flask('app')
CORS(app)
app.config.from_object("config")
port = app.config['PORT']
ITEMS_PER_PAGE = app.config['ITEMS_PER_PAGE']
DB_URL = 'postgresql+psycopg2://{user}:{pw}@{url}/{db}'.format(
user=app.config['POSTGRES_USER'],
......
#!/usr/bin/env bash
. venv/bin/activate
#export FLASK_ENV=development
#export FLASK_APP=covid19python
#pip install -e .
#flask run
. venv/bin/activate
python covid19
python covid19.__init__
from setuptools import setup, find_packages
from setuptools import find_packages, setup
setup(
name='covid19python',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment