-1

I have write a flask project and I want to deploy it to Bottle.

I have tried to directly assign the Flask app to the app parameter, but it failed.

How can I do that?

davidism
  • 121,510
  • 29
  • 395
  • 339
andy
  • 3,951
  • 9
  • 29
  • 40

1 Answers1

4

Flask and Bottle are two micro-frameworks for Python.

You cannot deploy a flask application with bottle because bottle is a framework. Not a server, nor a a tool to deploy flask apps.

If you want to deploy your flask application on a server you already have, you will need to install a WSGI HTTP server to run your flask application. Take a look at:

I you want your flask application hosted for you and you don't want to manage the server yourself, take a look at:

Timothée Jeannin
  • 9,652
  • 2
  • 56
  • 65