I have made a gist with a script I am using to deploy Flask applications to VirtualBox:

https://gist.github.com/deadbok/155bd5906b30bc34b75180b240e326ac