How to update files in the local repository

Hello.

I created a web app using dash plotly module with python. In the localhost, I was able to change the local files and save them with ease, however, I am having a bit of trouble on figuring out how to update the files created in the local repository when I run the app on render. My code can push the changes made to the repository but I just need to figure out the path where the repository is cloned when I run the app on render. Here is my file structure :

  • → tendering (My github repository)
  •   --> src
    
  •         --> assets
    
  •         --> static
    
  •         --> Outputs
    
  •         --> Sources
    
  •               --> FiyatListesi.xlsx (File I want to update with dash callback)
    
  •               --> Packages.xlsx (File I want to update with dash callback)
    
  •               --> Source.xlsx
    
  •         --> app.py (importing from app_pages, objects and functions)
    
  •         --> app_pages.py (importing from objects and functions)
    
  •         --> objects.py
    
  •         --> functions.py (importing from objects)
    

Hey,

You can simply push the new code to your repository and Render will trigger a new deploy automatically.

https://www.freecodecamp.org/news/pushing-to-github-made-simple-enough-for-poets/

Regards.
Jérémy, Render Support

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.