Giter Site home page Giter Site logo

amp-rsa-automation's Introduction

Amplience Reference Storefront Architecture – Core Automation Files

amp-rsa-automation

This package is used by the amprsa cli to set up data for use with Amplience Reference Storefront Architecture.

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 dependant 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
│   │   │       ├── 04 Other Content Types
│   │   │       ├── 05 Externally Referenced Products
│   │   │       ├── 06 Blogs and Dynamic Blog Lists
│   │   │       ├── 07 Homepage
│   │   │       ├── 08 Landing Pages
│   │   │       ├── 10 Products
│   │   │       ├── 11 Layouts
│   │   │       └── 12 Stores
│   │   ├── Email Marketing
│   │   ├── Site Components
│   │   └── Slots/
│   │       └── 01 Web/
│   │           ├── Accessories
│   │           ├── Men
│   │           ├── New
│   │           ├── Sale
│   │           └── Women
│   ├── 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 amprsa 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.name

    hub name

amp-rsa-automation's People

Contributors

dlilly avatar rezakalfane avatar neilmistryamplience avatar

Watchers

 avatar Ray Sweeten avatar Darren Lee 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.