-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
Description
it should be possible to quickly render content from the local git repository, if it matches the current origin.
for example:
strains:
- name: default
content: https://github.com/adobe/developer.adobe.com.git#master
code: https://github.com/adobe/developer.adobe.com.git#master
static: https://github.com/adobe/developer.adobe.com.git/htdocs#master
When running hlx up in a local checkout of https://github.com/adobe/developer.adobe.com.git, the content and static content should be served from the local repo instead from github.
Also, it should be possible to disable this feature, or even specify more repositories that should be emulated.
Suggest
hlx up will have a new flag --git or --git-serve or --mount or --repo which takes 1 directory argument that must point to a local checkout of a content repository. hlx up will then start a git-server on those directory and map all repository references in the strains.
Reactions are currently unavailable