Code Monkey home page Code Monkey logo

abpmilo's Introduction

Milo

Milo is a shared set of features and services to power Helix-based websites on adobe.com.

codecov

Environments

Preview | Live

Developing

  1. Install the Helix CLI: sudo npm install -g @adobe/helix-cli
  2. Run hlx up this repo's folder. (opens your browser at http://localhost:3000)
  3. Open this repo's folder in your favorite editor and start coding.

NPM (Recommended)

While milo does not require a build step to function, you will need to install npm packages to:

  1. Lint
  2. Test
  3. Run libs

Tool recommendations

You can use any text editor or IDE of your choice, but milo is highly optimized for VS Code. Milo provides recommended extensions (use the filters) and debugging tools.

Forks

Forks will have a separate content bus and will 404. To use the main content bus run the following:

hlx up --pages-url=https://main--milo--adobecom.hlx.page

Libs

If you want to see how your milo changes impact a consuming site you will need to work on a different port.

npm run libs  

Milo will run at:

http://localhost:6456

You can then test any of the following:

http://localhost:3000/?milolibs=local (local code, stage content)

https://main--project--owner.hlx.page/?milolibs=local (prod code, stage content)

https://main--project--owner.hlx.live/?milolibs=local (prod code, prod content)

https://feat-branch--project--owner.hlx.page/?milolibs=local (feature code, stage content)

Testing

npm run test

or:

npm run test:watch

This will give you several options to debug tests. Note: coverage may not be accurate.

abpmilo's People

Contributors

auniverseaway avatar seanchoi-dev avatar chrischrischris avatar amauch-adobe avatar fullcolorcoder avatar bipinp24 avatar ryanmparrish avatar sartxi avatar prathyushanallapati avatar meganthecoder avatar janaki-r-bhagwath avatar sanjayms01 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.