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

admin GUI #728

Closed
ksonda opened this issue Jul 19, 2021 · 8 comments
Closed

admin GUI #728

ksonda opened this issue Jul 19, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@ksonda
Copy link
Contributor

ksonda commented Jul 19, 2021

Is your feature request related to a problem? Please describe.
Some users have difficulty configuring due to yml syntax issues, and the general length + complexity of the yml when many resources are configured.

Describe the solution you'd like
A GUI to configure pygeoapi, perhaps just a simple HTML form, perhaps in React.

@webb-ben and I are pursuing this on our own to serve some organizations that have expressed interest. If there is interest in this being a core feature, can open a draft PR.

@ksonda ksonda added the enhancement New feature or request label Jul 19, 2021
@justb4
Copy link
Member

justb4 commented Jul 19, 2021

+1 . My personal pref would be using VueJS over React. IMO the pygeoapi config structure could first be made more 'composable'/'loosely coupled', by allowing e.g. Collections configured as per-collection-file-yaml's in a directory.
ldproxy, another OGC API server, has a 'manager' UI doing something similar with also a directory-based config convention:
https://github.com/interactive-instruments/ldproxy/tree/master/ldproxy-manager

@webb-ben
Copy link
Member

@justb4 If this is something that is wanted enough, I would be interested in implementing that sort of behavior for the config. Probably would make sense to happen in a different branch/issue that an admin GUI, right?

@webb-ben webb-ben mentioned this issue Aug 20, 2021
@krishnaglodha
Copy link
Member

Hi @ksonda , I'm thinking of creating a config yml generator to help users use GUI form to generate files. Please let me know if you are working on it, otherwise I can then spin up an issue.

Thanks

@ksonda
Copy link
Contributor Author

ksonda commented Aug 27, 2022

@webb-ben can you show where current draft and any feedback is? You're welcome to iterate on that or try a different implementation if you want. Our work on this is not immediate for the time being.

@webb-ben
Copy link
Member

@krishnaglodha @ksonda cc: @tomkralidis

This is implemented in cgs-earth/pygeoapi:admin. Simultaneous to the GUI, working is being done to build out an admin api that is in line with OGC API - Features - Part 4.

@krishnaglodha
Copy link
Member

HI @webb-ben , I cloned the repo and it's running but when I do /admin I'm getting error, can you please tell how can I access admin panel ?

@webb-ben
Copy link
Member

webb-ben commented Jan 3, 2023

@krishnaglodha Could you tell me the error you are getting? /admin should be redirecting to /login if credentials have not been provided.

I just rebased the branch and am able to get it running using this docker compose file.

@tomkralidis
Copy link
Member

An admin API is now merged in master (#1137) which includes a simple UI.

An enhanced UI (my preference would be Vue.js) can be realized in as a separate project in a separate repository (basically an AJAX client).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants