Open jjcastro opened 1 year ago
Hey @jjcastro , this sounds interesting. For,
greppo serve ..
uses wrap_and_run_script
to run the app: https://github.com/greppo-io/greppo/blob/5b3b58bec5d42341398a2730c60785484ad909c1/library/src/greppo/cli.py#L30. You can run the app using the python command by running that function. I am happy to accept a PR. Let me know if you need more context about the codebase.
I'm running Greppo on Colab and I was thinking whether it would be worth making this simpler in Greppo. It works well, but it requires tunneling and running the tunnel separately, which Colab is not too happy running 2 processes at once so it gets a bit cumbersome.
I'm using localtunnel right now. Some ideas I've had (I'm happy to contribute too):
python3 script.py
. This would make it more colab-friendly since we don't have to write a file to run likegreppo serve script.py
These changes would also improve the general use case of sharing externally-available Greppo links during development, which we want for more exploratory / quick data-analysis type of work (as opposed to building an app to be published). What do you think?