https://github.com/dssg/aequitas
Tip revision: 9df5fee0d28c071e9dcfbb23538b5a27ccea76f8 authored by InĂªs Silva on 26 April 2024, 16:22:33 UTC
User guide standardization (wip)
User guide standardization (wip)
Tip revision: 9df5fee
serve.py
#!/usr/bin/env python
import importlib
import os
# Make WSGI app available to server as "application"
from aequitas_webapp import app as application
# Ensure webapp logic is loaded
# (but don't import it into this namespace)
importlib.import_module('aequitas_webapp.views')
if __name__ == '__main__':
# Run development server
application.run(
host=os.getenv('HOST'),
)