resource-watch/adapter-earth-engine

View on GitHub
main.py

Summary

Maintainability
A
0 mins
Test Coverage
import os
from adapterearthengine import app

# This is only used when running locally. When running live, Gunicorn runs
# the application.
if __name__ == '__main__':
    app.run(
        host = '0.0.0.0',
        port = int(os.getenv('PORT')),
        debug = os.getenv('DEBUG') == 'True'
    )