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

External files or multifile app does not work #77

Open
berkorbay opened this issue Nov 13, 2023 · 0 comments
Open

External files or multifile app does not work #77

berkorbay opened this issue Nov 13, 2023 · 0 comments

Comments

@berkorbay
Copy link

berkorbay commented Nov 13, 2023

Hi. Just started testing shinylive and I have a quick question. I need either a small json file for my app.py or an external module (not pip install just a local wordlist.py file). When I wanted to use shinylive for my app (and files) inside app/ folder and I want to export the outputs to docs/ folder. I use the following command.

shinylive export app docs

When I serve it on the localhost with python3 -m http.server --directory docs --bind localhost 8008 I get the following result.

Screenshot 2023-11-13 at 14 36 09

I know it can be done due to this example: https://shinylive.io/py/examples/#regularization

Perhaps I missed a documentation for multi-file shinylive apps. I can do a workaround with a bloated app.py but knowing how to work with multiple files will be incredible.

Thanks for such an awesome package. It will get better and better I presume.

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

No branches or pull requests

1 participant