mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
14 lines
335 B
Python
14 lines
335 B
Python
from whitenoise import WhiteNoise
|
|
import os
|
|
|
|
from app import create_app # noqa
|
|
|
|
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
|
|
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'app', 'static')
|
|
STATIC_URL = 'static/'
|
|
|
|
application = WhiteNoise(create_app(), STATIC_ROOT, STATIC_URL)
|
|
|
|
if __name__ == "__main__":
|
|
application.run()
|