Another busy week, I have two midterm exams this week, and another one next week. So I don’t spend too much time on the project, even though I have tried my best to rearrange my schedule. There seem to be some problems in the communication with another team. They seem to be unfamiliar with the tasks they are assigned, and the project owner says that the Neural Network for this web app is ready. Before deploying it, they hope we can have a demo for prototype 1 at the meeting next week, but the task of another team is an indispensable part of this prototype.
Our project encountered some obstacles this week. When Deloy generates static input preview page function for users. I find that the flask web framework is not easy to handle static HTML files. But the result of my current deployed cfd3_input_generator.py is to generate a static HTML file. So I am trying to deconstruct this library and redeploy it in server.py, and change the results to the image file to append to templates.
But the other parts of the project are not bad. I have complete the single input form to store the input data into the database function and also complete a draft of the output page. This simple database is implemented by SQLAlchemy, which has many very convenient encapsulated functions in python. So far this database is just a simple replacement for the global value, but it will play a big role in subsequent output saving.
SQLAlchemy: https://www.sqlalchemy.org/