I started developing a template panel application (https://github.com/chime-experiment/bondia) using
my_template.show(). Now I would like to deploy it somewhere and make it accessible via web for multiple users. Changing
servable() and then passing the name of the script to
panel serve my_script.py does exactly what I want.
But I am wondering if I can somehow get the same functionality just by changing my script and calling it directly. This is to make deployment and configuration a little bit less awkward.
I also couldn’t find a way to pass a command line argument through
panel serve to my script (i.e.
--c my_config.yml). If I add an
--args before that, it would pass a
--index to my script (!?).