GithubHelp home page GithubHelp logo

adobe-experience-league / exlm Goto Github PK

View Code? Open in Web Editor NEW
3.0 13.0 31.0 12.02 MB

Experience League Modernization

License: Apache License 2.0

JavaScript 75.42% HTML 0.27% CSS 18.90% SCSS 5.39% Shell 0.01%

exlm's Introduction

Experience League

Experience League site implementation on https://aem.live

Environments

Getting started

  1. Clone or fork this repo (see note below on forking)
  2. Create your brannch
  3. Install the AEM CLI: npm install -g @adobe/aem-cli
  4. Install dependencies npm i
  5. Start Local Proxy: aem up (opens your browser at http://localhost:3000)
  6. Start coding!

On forking this repo

If you want/need to fork this repository remember to add the AEM Code Sync GitHub App to the fork repository.

Content Source

The default content source is set in fstab.yaml, by default it's pointing to the main exlm-converter action.

The action is the entry point for all HTML delivered to https://aem.live services.

while developing, and if you need to update the source HTML, you are free to deploy exlm-converter action to your own project on Adobe Runtime. (Remember to point your forked repon fstab.yaml to your own action).

Helpful Commands

Linting

npm run lint

Fix auto-fixable CSS lint issues

npm run quality

Code Formatting

this should happen on commit automatically, but you can run manually with:

npm run format

Code Quality Check

If you want to run all code quality scripts to ensure your PR will pass:

npm run quality

Run sass auto-compile and Helix Pages

npm run up

The above command will run node sass-compile.js in parallel with hlx up which will start your local Helix Pages development environment.

Note on SASS usage and Helix Local Development

The npm run up will parse the styles and blocks directory for any .scss files. Files that are found will be compiled to css and saved in the same location and name with a .css extension. It will then continue to watch for changes to .scss files and will compile to their associated CSS files on changes.

Examples:

  • {repo}/blocks/header/header.scss will compile to {repo}/blocks/header/header.css
  • {repo}/styles/style.scss will compile to {repo}/styles/styles.css

As both sass-compile.js and hlx up are watching for changes, changes made to your sass files while using the rpm run up command will be reflected automatically in your localhost.

Note that using only the hlx up command will not trigger updates on-change for sass files.

Local SignedIn Development

Use this only if you need sign-in to work locally for development purposes.

  1. add this entry to hosts file (/etc/hosts on mac) 127.0.0.1 experienceleague-local.adobe.com (you likely will need sudo to save this file)
  2. run npm run up-secure (instead of npm run up)
  3. Browser should automatically open at https://experienceleague-local.adobe.com

    if asked to trust the certificate on the browser, do trust it. Might also need to allow runnig nas admin (sudo)

If you have a Windows machine, please add any learnings to this Doc. The current dev team uses MacOs.

exlm's People

Contributors

adobenitesh avatar ahmed-musallam avatar buuhuu avatar devisree29 avatar duynguyen avatar gandal-adobe avatar gauthamksn avatar joseph-ross-work avatar mayukhs2904 avatar mhaack avatar msagolj avatar nehaadobe avatar nitin-rachabathuni avatar noormd08 avatar rogerblanton avatar rrusher avatar ruhisingh1 avatar shsteimer avatar sivaramvt avatar sivtadbe avatar thomsebastin avatar tprasad05 avatar usman-khalid avatar varuna13 avatar vik407 avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

exlm's Issues

Content model changes (phase 2)

To achieve a more compelling content model that aligns with the best practices of Edge Delivery Services we should:

  • reduce the number of authorable columns and rows
  • group / concatenate semantically related content elements into single column (SITES-19302)

Affected blocks:

  • Teaser & Carousel (eyebrow + heading + text & ctas)
  • Maquee (eyebrow + heading + text)
  • Media (eyebrow + heading + text + links)
  • Icon Block (heading + text + link)
  • Authorable Cards (heading + tooltip + link)
  • Curated Cards (heading + tooltip + link)
  • Sign up (eyebrow + title + description + ctas)
  • Featured Cards (heading + description)
  • Events Cards (heading + tooltip + link)
  • ADLS Cards (heading + tooltip + link)
  • Tabbed Cards (heading + tooltip)
  • Recommended Courses (heading + tooltip + link)

Scope:

  • use the semantic html served directly and annotate it with css classes, instead of parsing and rebuilding the DOM
  • concatenate the properties into single columns as outlined above (involves renaming properties)
  • provide according content migration "scripts" (sling pipes)

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.