EDS Experiementation
- Preview: https://main--brightpath--kmurugulla.aem.page/
- Live: https://main--brightpath--kmurugulla.aem.live/
Before using the aem-boilerplate, we recommand you to go through the documentation on https://www.aem.live/docs/ and more specifically:
- Developer Tutorial
- The Anatomy of a Project
- Web Performance
- Markup, Sections, Blocks, and Auto Blocking
npm inpm run lintFor detailed setup instructions and documentation, see PERFORMANCE_BUDGET_SETUP.md.
Performance tests automatically run on every PR against the branch's preview URL:
- Triggers: When you create a PR to
main - Tests: Branch preview URL (e.g.,
https://{branch}--{repo}--{owner}.aem.live) - Paths: Configured in
.github/workflows/performance-budget.yml(envPERF_TEST_PATHS) - Results: Posted as a comment on the PR
To configure tested paths, edit .github/workflows/performance-budget.yml:
env:
PERF_TEST_PATHS: '/ /da-demo /ue-editor/demo'# Test localhost
npm run perftest
npm run perftest -- /about /contact
# Test branch preview URL
npm run perftest -- --url https://{branch}--{repo}--{owner}.aem.live / /about
# Test production
npm run perftest -- --url https://{branch}--{repo}--{owner}.aem.live
# Check file sizes
npm run perftest:size- Create a new repository based on the
aem-boilerplatetemplate - Add the AEM Code Sync GitHub App to the repository
- Install the AEM CLI:
npm install -g @adobe/aem-cli - Start AEM Proxy:
aem up(opens your browser athttp://localhost:3000) - Open the
{repo}directory in your favorite IDE and start coding :)