Streamlit and git integration

Level 1
Streamlit and git integration


I would like to work on a Streamlit code inside Code Studio and:

  1. Track the changes by committing it using e.g. Gitlab 
  2. Share the Streamlit code with my colleagues and work on it together.

How can I do this as right now when I initialise the repository inside Vscode in Code studio it tracks all the files (more than 50).



0 Kudos
1 Reply

Hi @Mich,

DSS project libraries are synced with code studios by default and any changes made from within vscode/streamlit can be synced back to your project libraries. I would suggest pushing changes to your gitlab repo from your project libraries rather than from code studios. In doing this, you can avoid the 50 files in code studios and having to re-init your git repo each time you restart code studios.

Screenshot 2023-07-25 at 8.34.12 PM.png

If this does not work for you, can you describe in detail the workflow your user is trying to accomplish in DSS with git remotes and code studios? This will help us to provide guidance on how to best accomplish this workflow in DSS.




0 Kudos