Giter Site home page Giter Site logo

dc-demostore-automation's Introduction

Amplience Demo Store – Core Automation Files

This package is used by the dc-demostore-cli to set up data for use with Amplience Demo Store Core.

The files in this project will configure a working demonstration environment with sample schemas, content types, content, slots, partials, extensions and...

TABLE OF CONTENTS

  • Process for Import / Export

Media Dependencies

This automation is dependent on related media in the Amplience DAM (Content Hub).

If you account does not come with any existing media, please upload all assets in the 'Media' folder in this repository to your content hub before running any automation.

Amplience Content Hub Overview

Amplience Content Hub Documention

File Structure

.
├── content/
│   ├── content-items/
│   │   ├── Content/
│   │   │   └── 00 Experience Content/
│   │   │       ├── 01 Banners
│   │   │       ├── 02 Cards and Card Lists
│   │   │       ├── 03 Other Content Types
│   │   │       ├── 04 Blogs and Dynamic Blog Lists
│   │   │       ├── 05 Homepage
│   │   │       ├── 06 Content Pages
│   │   │       ├── 07 Layouts
│   │   │       ├── 08 Stores
│   │   │       └── 09 Looks
│   │   ├── Email Marketing
│   │   ├── Site Components
│   │   └── Slots
│   ├── content-type-schemas/
│   │   └── schemas
│   ├── content-types
│   ├── extensions
│   ├── indexes
│   └── settings
├── media/
│   └── Templates
├── package-lock.json
├── package.json
└── README.md

content

The root folder for automation content is content. Let's dig in to what's inside there.

  • content-type-schemas

    Schemas are your data models for your experiences.

    Content type schemas

  • content-types

    Content Types define where and how youd schemas can be used and attibutes for business teams.

    Content types

  • content-items

    At the root level of content-items there are folders that represent specific repositories. These folders can hold both content items (*.json.hbs) and folders.

  • extensions

    Web apps that extend the functionality of Dynamic Content. Extensions

  • indexes

    Indexes used with Amplience Search. Search Indexes

  • settings

    Hub settings including workflow states and visualization settings

Handlebars template substitution

Files that end in .hbs are Handlebars templates, and can use the context that demostore passes in to it. Here are several examples of templated variables used:

  • dam.imagesMap.<key>

    where key is a camel-cased reference to an asset in dam

  • contentMap.<key>

    where key is a slugified version of the content item's delivery key

  • cms.repositories.<key>

    where key is a slugified version of the repository name

  • url

    the application deployment URL (for visualizations)

  • cms.hub

    hub name

dc-demostore-automation's People

Contributors

benj0s avatar dlilly avatar github-actions[bot] avatar neilmistryamplience avatar rezakalfane avatar rosshill127 avatar rs-amp avatar sweetenr avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.