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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Allow launching the Solara server via python app.py #192

Open
rht opened this issue Jul 4, 2023 · 1 comment
Open

feature request: Allow launching the Solara server via python app.py #192

rht opened this issue Jul 4, 2023 · 1 comment

Comments

@rht
Copy link

rht commented Jul 4, 2023

Currently, there are 2 ways to run the Solara app:

  • solara run app.py
  • Launch a Jupyter notebook server, then execute the cells in app.py

My request is to have an option to do python app.py so that it is easier to document. Though, saying solara run app.py already works. Perhaps a better use (though this is not my use case at the moment) case would be to have another web server code that launches the Solara server programmatically.

@rht
Copy link
Author

rht commented Jul 4, 2023

Though a subprocess.Popen(["solara", "run", "app.py"]) would have worked too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant