Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitHub url of main script #3

Merged
merged 1 commit into from Jun 21, 2022
Merged

Support GitHub url of main script #3

merged 1 commit into from Jun 21, 2022

Conversation

snehankekre
Copy link
Contributor

@snehankekre snehankekre commented Jun 21, 2022

馃摎 Context

@arnaudmiribel you had mentioned that you'd someday like to support st {template}, where template is a GitHub repo. This PR makes incremental progress towards that vision.

馃 Description of changes

  • Supports st {template}, where template is the GitHub (.py) url of the main script. E.g.

    st https://github.com/streamlit/streamlit-example/blob/master/streamlit_app.py
    
  • Creates a virtualenv with venv

TODO

  • Refactor into functions to more conveniently reuse code
  • Support Conda, Poetry

@arnaudmiribel
Copy link
Owner

Ohhh that's very cool! Thanks for jumping into this, I think starting from template repositories is a much better way to approach the problem.

Approving your PR, although I will add some stuffs in a subsequent chain of commits

@arnaudmiribel arnaudmiribel merged commit a1b144f into arnaudmiribel:main Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants