adobe / da-live

Document Authoring is an early-access technology preview from Adobe.
https://da.live
Apache License 2.0
10 stars 12 forks source link

Document Authoring

Document Authoring is a research project.

Developing locally

Run

  1. Clone this repo to your computer.
  2. Install the AEM CLI: sudo npm install -g @adobe/aem-cli
  3. In a terminal, run aem up this repo's folder.
  4. Start building.

Run (advanced)

Like most AEM Edge Delivery projects, da-live uses production service integrations by default. You work against the projects you have access to and there's less likely something breaks if you're working against production services already.

There are times when you need to develop a feature across the different services of DA. In these scenarios, you need local or stage variations of these services. With the right credentials, you can do so with the following flags:

DA Admin

  1. Run da-admin locally. Details here.
  2. Start the local AEM CLI (see above)
  3. Visit https://localhost:3000/?da-admin=local

DA Collab

  1. Run da-collab locally. Details here.
  2. Start the local AEM CLI (see above)
  3. Visit https://localhost:3000/?da-collab=local

Notes

  1. You can mix and match these services. You can use local da-collab with stage da-admin, etc.
  2. Each service will set a localStorage value and will not clear until you use ?name-of-service=reset.

Additional details

Recommendations

  1. We recommend running npm install for linting.

Dependencies

DA has several libraries / dependencies that are built adhoc.

# Build Lit
npm run build:da-lit

# Build Prose / YDoc
npm run build:da-y-wrapper

Additional details can be found here.