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

Make application ENV agnostic and Publish to PyPI #109

Open
sandrahoang686 opened this issue Sep 12, 2023 · 0 comments
Open

Make application ENV agnostic and Publish to PyPI #109

sandrahoang686 opened this issue Sep 12, 2023 · 0 comments

Comments

@sandrahoang686
Copy link
Collaborator

sandrahoang686 commented Sep 12, 2023

Description

This was written as an internal flex project.

We want to make stac_ipyleaflet env agnostic. The code should not be tightly coupled to any type of environment/workspace, that should be deferred as an env variable. This ticket will require a comb through of the code to make sure anything coupled to an env is decoupled. Any logic coupled, we should consider pulling it out into its own module/file. This will get us ready to publish to PyPI

Acceptance Criteria

  • Make python-dotenv a dev dependency instead of an overall dependency because we only need the .env file during development
  • Comb through the code to make sure anything tightly coupled to an env/workspace is pulled into its own module/file
  • Any variables that need to be made as an env var should only be needed at build time, during run time, these vars can be defined in the constants file
  • Think about default layers... possibly make MAAP default layers a var in constants file but do we want env agnostic users to be able to specify default layers? (If so, how can they create and specify a file?)
  • Publish to PyPI (follow up - once published to PyPI, should we have MAAP and VEDA reference from there?)
  • Document process of publishing to PyPI
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