This website requires JavaScript.
Explore
Help
Sign In
viveksantayana
/
ska-referee-test
Watch
1
Star
0
Fork
0
You've already forked ska-referee-test
Code
Issues
1
Pull Requests
Projects
Releases
19
Wiki
Activity
ca667f7896
ska-referee-test
/
ref-test
/
main.py
3 lines
82 B
Python
Raw
Normal View
History
Unescape
Escape
App Factory pattern
2022-06-20 12:10:37 +01:00
from
app
import
create_app
Dockerised. Restructured to remove circular import Moved most of app definitions out of guard function to use wsgi Updated configuration files and referencing of .env values. Local version needs dotenv or exporting of env variables. Dockerised version works fine without load_dotenv. Ready to test now!
2021-12-05 03:49:31 +00:00
app
=
create_app
(
)
Tidied up code
2022-06-19 11:17:00 +01:00
if
__name__
==
'
__main__
'
:
app
.
run
(
)
Reference in New Issue
Copy Permalink