The time needed to turn the offline prototype of a scientific tool into a publication ready online application often requires deep expertise in web development and several weeks worth of additional development.
Given the reusable nature of several components of an online scientific tool, a significant portion of this work could be saved by using a standardised template.
ScienceFlask implements most of the basic components of an online scientific tool such as user management, admin panel, file upload, job submission, form validation and logging.
The source code of SF and an extensively documented fully functional example project is available on GitHub.
Please make sure to check out my blog post about why I developed ScienceFlask and what exactly it can help you with.