Open helms-charity opened 1 year ago
@helms-charity The referenced URL https://github.com/hlxsites/maidenform is returning 404. Do you have an updated URL for the content you referenced? Thanks
oh I guess it is private. Here, I will paste what that readme looks like.
Your project's description...
npm i
# or
yarn
npm run start
# or
yarn start
helix-project-boilerplate
template and add a mountpoint in the fstab.yaml
npm install -g @adobe/helix-cli
hlx up
(opens your browser at http://localhost:3000
){repo}
directory in your favorite IDE and start coding :)When not running the production website (anything containing maidenform.com
) you have the ability to change the default enviroment through two different means.
Currently three enviroment exits:
dev
stage
prod
You can change the environment for a single page by appending the following query parameter config
with the environment name. For the homepage in local devolopment, this would result in https://localhost:3000/?config=stage for staging.
You can also modify the enviroment through the session storage this will make sure you can trough a full checkout process on the same enviroment. You would do that by adding an environment
variable with the name of the desired environment. You can still override this setting by modifying the query parameters config
.
The sitemap.xml is generated by gathering the content of two indexes though the helix-sitemap.yaml:
The static index is directly managed by Franklin upon publication and unpublication of pages.
The Products index is managed through a GitHub action, that will trigger the reindexing of the product pages it will gather the products from querying Commerce GraphQL. The product index is run daily or through a manual execution.
To be able to remove products pages from the sitemap:
/products/query-index.xlsx
should be emptiedsync-commerce
GitHub Action should be executed, this will ensure that only product currently available will be added
Can use https://github.com/hlxsites/maidenform as a guide. The "choosing the environment" part there is special to Maidenform, so can omit that.