Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Front end to manage configs #2

Open
almadireddy opened this issue May 9, 2020 · 0 comments
Open

Front end to manage configs #2

almadireddy opened this issue May 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@almadireddy
Copy link
Member

Since the deployer app is a simple Express app, we can easily extend it to add an admin panel that lets us see the current config.

Making the config editable directly from the front-end would be really good too. This would involve:

  • Making the config into a .json or .yaml
  • Authentication so that ArtSciLab members can #
    • Maybe github can be used for auth, so that permissions can be managed through github.
  • Forms would be validated, and the values saved back into the config file.
  • The config file would need to be read in every time a request comes through
  • Build logs can be output and saved.

Some things to consider:

  • Since the deployer is hosted on heroku, there is the issue of non-persistent file storage on heroku. Each new deploy would wipe the config file to the latest version in git.
    • This could mean that configs need to be stored in a database, which adds some extra complexity to the service, perhaps that can be a future enhancement.
@almadireddy almadireddy added the enhancement New feature or request label May 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant