Leveraging repoless approach for crosswalk projects | Community
Skip to main content
josephambrose
Level 3
November 26, 2024
Solved

Leveraging repoless approach for crosswalk projects

  • November 26, 2024
  • 1 reply
  • 1604 views
 

I want to leverage the repo less approach for my new EDS cross walk project, where four developers will be working collaboratively. Each developer will create their own feature branch in GitHub. Before merging their changes into the dev branch, they need to test their individual features separately.

In the repo less documentation, Adobe mentions that it is possible to create multiple sites within a single repository. If we want to create a site for our cross walk project, what should be specified in the Content Source URL?

Additionally, how can we configure the setup to allow each developer to test their features independently on their respective branches?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ShaileshBassi

Hi @josephambrose 

The source url for this would be 

"content": { "source": { "url": "{{author_host}}/bin/franklin.delivery/{org}/{site}/main", "type": "markup", "suffix": ".html" } }

Reference - https://www.aem.live/docs/admin.html#tag/siteConfig/operation/createSiteSite

 

Hope this helps!

Thanks

1 reply

ShaileshBassi
Community Advisor
ShaileshBassiCommunity AdvisorAccepted solution
Community Advisor
November 27, 2024

Hi @josephambrose 

The source url for this would be 

"content": { "source": { "url": "{{author_host}}/bin/franklin.delivery/{org}/{site}/main", "type": "markup", "suffix": ".html" } }

Reference - https://www.aem.live/docs/admin.html#tag/siteConfig/operation/createSiteSite

 

Hope this helps!

Thanks

josephambrose
Level 3
December 6, 2024

Hi @shaileshbassi 

 

Consider If we want to create two sites namely, "pocfeature1site" and "pocfeature2site", when we use "Create Site Config" Admin API, shall we mention the URLs as follows:

 

first site : "url": "{{author_host}}/bin/franklin.delivery/{org}/pocfeature1site/main" second site : "url": "{{author_host}}/bin/franklin.delivery/{org}/pocfeature2site/main"

 

(not at the same time, first create one site with name "pocfeature1site" and then create another site  "pocfeature2site." ) Is it correct?