Forums

developing outside the site.

i want to write and alter my app on my own machine because its slow and awkward to do it online. problem is that behavior is different online... eg paths to files... online it seems images have to sit bare in static folder to get rendered in the html... confusing. is there some set-up i can use on my own computer that will accurately simulate the site behavior?

Which web framework are you using? The whitenoise package for Django is a pretty good way to set things up so that local and live versions of the site serve static images in a similar way.

using flask and python 3.5. can either change stuff in pyanywhere or on local machine. just want consistency between the two :)

How are you handling the static files in your local config?