OE0-84: Automatizing Pulling modules from source and using local instances. #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR requires #72 to be available to use, but does not depend on it.
Changes:
install_module_locally
admin command, allowing to fetch and install modules from remote repositories on local setupUsage:
install_module_locally invoice
- fetches moduleopenimis-be-invoice
from repository (url fromopenimis.json
, using develop branch) next toopenimis-be_py
directory and istalls it as editable library (pip)install_module_locally invoice --url <url> --branch <branch> --path <path>
- optional arguments allowing to override default settings, also allowing to add a module not present inopenimis.json
(results in newopenimis.json
entry)install_module_locally all
- fetches and installs all modules present inopenimis.json
(allows--path
and--branch
to be customized)https://openimis.atlassian.net/browse/OE0-84