Your project's description...
npm i
npm run lint
- Create a new repository based on the
aem-boilerplate
template and add a mountpoint in thefstab.yaml
- 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 :)
-
Run
wrangler deploy
to update worker code in Cloudflare Dashboard. You shouldNOT
edit worker code in Cloudflare Dashboard directly. Any changes that need to be made to the worker code should be done through the worker.js file. -
Run
wrangler dev --remote
to test Square locally, this turns the worker serverON
.- If you want to test
production
locally, go to wrangler.toml and change[vars] ENVIRONMENT = 'production'
- If you want to test
sandbox
locally, go to wrangler.toml and change[vars] ENVIRONMENT = 'sandbox'
- If you want to test