Run npm install at the root of the project to install all the dependencies.
-
Akamai's authentication credentials should be present in the
.edgercfile. -
The Akamai CLI should be installed and configured.
-
Update the
.envfile with the correctEDGEWORKER_ID
npm run format- Runs the linter on the project.npm run lint- Runs the linter on the project.npm run build- Builds in/dist/the Akamai project; It will automatically increment thebundle.jsonversion and updateEDGEWORKER_VERSIONin the.envfilenpm run edgeworker:auth- Generates token for the debug headers required to see the Akamai logsnpm run edgeworker:deploy- Deploys the Akamai build to the Akamai networknpm run edgeworker:activate- Activates the build on the Akamai staging networknpm run edgeworker:status- Retrieves the activations status of the build on the Akamai edge worker
-
Run
npm run buildto build the project -
Run
npm run edgeworker:deployto deploy the build to the Akamai network -
Run
npm run edgeworker:activateto activate the build on the Akamai staging network -
Run
npm run edgeworker:statusto check the activation status; when isCOMPLETEthe activation is done -
With changes