Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flask-covid19
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Wöhlke
flask-covid19
Commits
24528b59
Commit
24528b59
authored
4 years ago
by
thomaswoehlke
Browse files
Options
Downloads
Patches
Plain Diff
dev for Milestone 0.0.14
parent
7e8f36dc
No related branches found
No related tags found
2 merge requests
!161
Issue 66 attempt 01
,
!160
Issue 66 attempt 01
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
MANIFEST.in
+3
-0
3 additions, 0 deletions
MANIFEST.in
config.py
+1
-0
1 addition, 0 deletions
config.py
covid19/__init__.py
+2
-2
2 additions, 2 deletions
covid19/__init__.py
database.py
+1
-0
1 addition, 0 deletions
database.py
run_web.sh
+3
-2
3 additions, 2 deletions
run_web.sh
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
11 additions
and
5 deletions
MANIFEST.in
0 → 100644
+
3
−
0
View file @
24528b59
graft covid19/static
graft covid19/templates
global-exclude *.pyc
\ No newline at end of file
This diff is collapsed.
Click to expand it.
config.py
+
1
−
0
View file @
24528b59
...
...
@@ -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
This diff is collapsed.
Click to expand it.
covid19/__init__.py
+
2
−
2
View file @
24528b59
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
)
This diff is collapsed.
Click to expand it.
database.py
+
1
−
0
View file @
24528b59
...
...
@@ -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
'
],
...
...
This diff is collapsed.
Click to expand it.
run_web.sh
+
3
−
2
View file @
24528b59
#!/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__
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
24528b59
from
setuptools
import
setup
,
find_packages
from
setuptools
import
find_packages
,
setup
setup
(
name
=
'
covid19python
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment