stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

23m 58s logged

I first built ASTRA on Streamlit. It worked locally, but once deployed, it kept sleeping. Every time someone opened the link after a while, it would show a sleeping screen and take forever to wake up. I realized a space design app can’t sleep when the user needs it, so I fixed it by rebuilding the entire app in Flask and deploying it through GitHub.Then when I tried to run Flask locally, I hit another wall - jinja2.exceptions.TemplateSyntaxError. Jinja couldn’t recognize my HTML syntax because I had used : inside {{ }} for my icons. I fixed that by moving the logic out of Jinja and into a clean JavaScript function.So I fixed two big things - I stopped the sleeping problem by leaving Streamlit for Flask, and I fixed the Jinja syntax clash that was breaking my localhost. I really hope this will work!!!.

0
18

Comments 0

No comments yet. Be the first!