Category : heroku

I’m having some trouble deploying my Flask App to Heroku. After a few tutorials I managed to get my Flask App hosted on Heroku, but I can’t access any other pages. It reaches the homepage on https://todoapplication-464425.herokuapp.com/, but when I try and change to the Login/Register/Logout then it just defaults back to 127.0.0.1:5000. Does anyone ..

Read more

My enviromental variable is called "GAMES_PLAYED", I have this piece of code that is supposed to retrieve the environmental variable, add 1 to it, then save the environmental variable and it’s new value. gamesPlayed = os.environ.get("GAMES_PLAYED") gamesPlayed = int(gamesPlayed) + 1 os.environ("GAMES_PLAYED") = str(gamesPlayed) print(gamesPlayed) I was sure it would update the variable but instead ..

Read more

Python Dash data not loading completely on Heroku Pipelines: Dash data loads correctly on localhost (code attached) with a value in 2017 up to 50 on the y-axis, but those values are not being displayed when deployed to Heroku. sewerpollutants import dash from dash.dependencies import Input, Output import dash_core_components as dcc import dash_html_components as html ..

Read more