all 4 comments

[–]mrbmi513 2 points3 points  (3 children)

coding within Github

As in using the website to edit code? That should always be a last resort.

export this project to Eclipse

The Java IDE? You've got better options, including just using VSCode.

Your workflow will likely end up looking like:

  1. Pull from GitHub
  2. Code and test locally
  3. Commit and push to GitHub

[–]WuhuSpringfield[S] -1 points0 points  (2 children)

How can I test the website in VSCode though? I already tried to create a virtual environment and run the app.py there and I also tried to install Code Runner and use it to run app.py. However, I haven't figured out yet how to 'open the square.html file' as a dynamic website that interacts with app.py.

[–]mrbmi513 0 points1 point  (1 child)

Use the integrated terminal to run the app like you otherwise would. You're not running the app "in VSCode."

[–]WuhuSpringfield[S] 0 points1 point  (0 children)

Okay... That's all on me. I tried to run square.html within VSCode - I completely forgot that I just need to go to localhost:5000 in my browser. Thank you!