I developed my restful api flask project (let's call it 'MYOWN').
And then, because of some needs to implement functions like 'notification', 'chat', and so on, I tried to merge my project with simple socketIO example project.
I want to run my project with only one command below
> ./manage.py runserver
In 'MYOWN's manage.py script, there exist
if __name__=='__main__':
manager.run()
and it made me confused with "where do I insert script below to 'MYOWN'?".
socketio.run(app)
Is there any way to run 'MYOWN' and socketIO example project same time?