Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.65 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.65 KB

AEM Guides - WKND Asset Compute project

Welcome to the WKND Asset Compute project!

This project contains the example code use to define a custom Asset Compute worker as illustrated in the Asset Compute extensibility tutorial.

Setup

  • Populate the .env file in the project root and fill it as shown below. Note that the console.json file must also contain accurate information for Local Dev.

Local Dev

  • aio app run to start your local Dev server
  • App will run on localhost:9000 by default

Test & Coverage

  • Run aio app test to run unit tests for ui and actions

Deploy & Cleanup

  • aio app deploy to build and deploy all actions on Runtime and static files to CDN
  • aio app undeploy to undeploy the app

Config

.env

# This file must not be committed to source control

## please provide your Adobe I/O Runtime credentials
# AIO_RUNTIME_AUTH=
# AIO_RUNTIME_NAMESPACE=

manifest.yml

  • List your backend Asset Compute Workers under the actions field within the __APP_PACKAGE__ package placeholder. We will take care of replacing the package name placeholder by your project name and version.
  • For each action, use the function field to indicate the path to the Asset Compute worker code entry point.

Contributing

Looking to contribute to this project? Please review our Contributing guidelines prior to opening a pull request.

We look forward to working with you!

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.