from paste.deploy import loadapp
from waitress import serve

from opreturnninja.config import config

if __name__ == "__main__":
    app = loadapp('config:production.ini', relative_to='.')
    serve(app, host='0.0.0.0', port=config.PORT)

from paste.deploy import loadapp
from waitress import serve

from opreturnninja.config import config

if __name__ == "__main__":
    print("Loading application.py")
    app = loadapp('config:production.ini', relative_to='.')
    serve(app, host='0.0.0.0', port=config.PORT)

Add a print statement; heroku not building :/
Add a print statement; heroku not building :/

  from paste.deploy import loadapp
  from waitress import serve
  
  from opreturnninja.config import config
  
  if __name__ == "__main__":
+     print("Loading application.py")
      app = loadapp('config:production.ini', relative_to='.')
      serve(app, host='0.0.0.0', port=config.PORT)
  
Add a print statement; heroku not building :/
## Code Before:
from paste.deploy import loadapp
from waitress import serve

from opreturnninja.config import config

if __name__ == "__main__":
    app = loadapp('config:production.ini', relative_to='.')
    serve(app, host='0.0.0.0', port=config.PORT)

## Instruction:
Add a print statement; heroku not building :/
## Code After:
from paste.deploy import loadapp
from waitress import serve

from opreturnninja.config import config

if __name__ == "__main__":
    print("Loading application.py")
    app = loadapp('config:production.ini', relative_to='.')
    serve(app, host='0.0.0.0', port=config.PORT)
