MuellMark / Course-Scheduler

Repository for the Course Scheduler Capstone Project
http://colbysullivan.pythonanywhere.com/
3 stars 1 forks source link

Converting to Flask Server #173

Closed colbySullivan closed 7 months ago

colbySullivan commented 7 months ago

I am going to start working on setting up the filesystem and merging it for our new flask app.

colbySullivan commented 7 months ago

I got a prototype website setup through pythonAnywhere. I have attached the website below but this most likely will not be our final service provider since you have to pay for a custom domain other than your username. http://colbysullivan.pythonanywhere.com/

colbySullivan commented 7 months ago

I am going to sign off for now but I got a lot done with finalizing the flask server. When I get home I plan to link all the pages through the new application.

colbySullivan commented 7 months ago

I am going to continue working on converting the sources to the Flask app.

colbySullivan commented 7 months ago

I added back all the buttons and images but I am going to take a break for dinner.

colbySullivan commented 7 months ago

I am going to finish off some of the links and then call it for tonight.

colbySullivan commented 7 months ago

Got a little carried away but I think I have linked everything. There is a slight issue with the pdf page but we can fix that later. I am going to sing off for tonight but I'm going to push my changes real quick.

Hamdally commented 7 months ago

Adding gif for loading page: https://stackoverflow.com/questions/42805765/how-to-add-a-loading-gif-to-the-page-when-a-function-runs-in-the-background-in-f

colbySullivan commented 7 months ago

I am going to work on getting the input and output file creation working.

colbySullivan commented 7 months ago

I got a little carried away but I got a rough pipeline to get the input and output CSVs for the python script. It is currently only getting the scope for the input file but I will fix the output.

colbySullivan commented 7 months ago

I am running into an issue with the glpk import. I'm having an error with the cygwin command so I'm guess the paths are different from my desktop to my laptop. I am going to sign off tonight but I will try again when I get home so I can fix the virtual environment as fast as possible.

colbySullivan commented 7 months ago

I am going to fix the issue with the import of glpk for our virtual environment.

colbySullivan commented 7 months ago

I have not gotten it work yet. I have attempted to do in both powershell and bash but there is still a dependency issue that needs to be fixed. I think I am going to sign off for tonight though.

colbySullivan commented 7 months ago

I've been trying for the last half an hour to get a module in glpk to be recognized. I am going to try for until 1 and will call it after then.

colbySullivan commented 7 months ago

I have no idea how but I reinstalled every module for our virtual environment and I got a working output! I am finally going to rest now.

colbySullivan commented 7 months ago

I caved and I worked on it for little bit longer and got it to output a functioning schedule. I know it looks awful but it outputs correctly. Everything should be back on schedule and now I'm really going to sign off. image