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

Seperate the gallery function #72

Open
wybert opened this issue Aug 2, 2022 · 3 comments
Open

Seperate the gallery function #72

wybert opened this issue Aug 2, 2022 · 3 comments

Comments

@wybert
Copy link

wybert commented Aug 2, 2022

Is there an easy way to set up the App galley like this?

@MarcSkovMadsen
Copy link
Collaborator

Do you mean creating your own Gallery?

@wybert
Copy link
Author

wybert commented Aug 3, 2022

Yes. Like when you use,
panel_gallery --config setting.yml
It will start a server and an App Gallery according to the config file.

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Aug 3, 2022

Not that easy currently.

But you can panel serve gallery.py --index=gallery where gallery.py is similar to https://github.com/MarcSkovMadsen/awesome-panel/blob/master/awesome_panel/apps/awesome_list.py and the yaml file is read similar to https://github.com/MarcSkovMadsen/awesome-panel/blob/a7132ee906f5047e03403e3836e9c0371bcbe9b2/awesome_panel/config/__init__.py#L34

I would like to carve this functionality out from the awesome-panel-extensions package one day and make some awesome-panel-gallery package.

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

2 participants