What should I do to connect to an already running flask instance using flask-script and click inside a terminal in ubuntu

163 Views Asked by At

I want to be able to connect to an already running instance of a flask application inside ubuntu terminal. I've tried flask-script and click, but the problem is when I execute the "flask shell" command, it starts a new instance of the application and I'm unable to use the already running instance, any idea?

0

There are 0 best solutions below