HI
HI
HI
Came across a "fun" issue with OneDrive. I had been doing a ton of work and changes on 1 of 3 computers I have that are all connected to the same account. I had not turned on one of the computers for 3 months. When I finally did, it spent an endless amount of time syncing and when it was done I discovered that it overrode my most recently used computer with it's outdated files. Some were not overwritten but merged or duplicated. It took a ton of time trying to correct. -_- Thank goodness for github! It saved the day by just scrapping entire folders and re downloading projects. Still....must figure out how to NOT let that happen again.
While the app is running in production mode, I noticed that whenever I changed something in a .html file it would not load the change immediately. I would have to manually restart the whole app to see the changes. I did a search and found a fix for this. Add the following line in the __init__.py file (without ""): "app.config['TEMPLATES_AUTO_RELOAD'] = True" You won't see the server auto-restart on a template change like it does in debug mode, but it does update the template and renders it as soon as you save the file.
I just learned it's "The Fastest Way To Build Data Apps". I'm enlightened. I could've saved months by using it, but that defeats the whole purpose of learning. Those pain staking months made me learn all the skills of a Full Stack Flask Developer using Flask, JS, HTML, CSS, and Json. For the win.
Here's a common scenario: you previously committed and pushed to a remote repo, but then decided that you don't want a certain file on the remote repo even though you'd like to keep the same file locally for personal reference. There's a way to fix that! Steps: ~$ git rm -r --cached File-or-FolderName ~$ git commit -m "Removed folder from repository" ~$ git push origin master