Hi, what would be the best way to deploy a website using Flask with an sqlite database and besides that - an additional bot that processes the data from sqlite file: flask_app - sqlite_file - python_bot
Hi, what would be the best way to deploy a website using Flask with an sqlite database and besides that - an additional bot that processes the data from sqlite file: flask_app - sqlite_file - python_bot
It really depends on how your code is structured, but I think you could deploy it just like any other Flask app. The only thing to look out for would be the file path you use to access the SQLite file -- it would need to be an absolute one to make sure that both the bot and the site were accessing it from the same location.