Git Product home page Git Product logo

comet's Introduction

Comet DXP

npm (scoped with tag) npm (scoped with tag) npm (scoped with tag)

main next

Docs

Visit https://docs.comet-dxp.com/ to view the documentation.

Create a new Comet DXP project

Use @comet/create-app to create a new Comet DXP project. More information can be found in the docs.

Development

Prerequisites

The following tools need to be installed on your local machine.

Setup workspace

Run the install.sh script to install dependencies and setup needed symlinks.

sh install.sh

It is recommended to run install.sh every time you switch to the main branch.

Build packages

Before starting individual development processes, build all Comet packages at least once.

pnpm run build:packages

It is recommended to build all packages every time you switch to the main branch.

Start development processes

dev-process-manager is used for local development. We recommend only running the development process you will need. Typically, you will need a subset of the available development processes.

Here are a few examples:

  1. You want to add a new component to @comet/admin

    Start the development process for @comet/admin:

    npx dev-pm start @comet-admin

    Create a development story in Storybook:

    pnpm run storybook
  2. You want to add a CMS feature to the API

    Start the development process for @comet/cms-api:

    npx dev-pm start @cms-api

    Start Demo API:

    npx dev-pm start @demo-api

    The Demo API will be available at http://localhost:4000/

  3. You want to add a CMS feature to the Admin

    Start the development process for @comet/cms-admin:

    npx dev-pm start @cms-admin

    Start Demo API and Admin:

    npx dev-pm start @demo-api @demo-admin

    The Demo Admin will be available at http://localhost:8000/

See dev-pm.config.js for a list of all available processes and process groups.

Start Demo

npx dev-pm start @demo

Demo will be available at

It is also possible to start specific microservices

npx dev-pm start @demo-api # (@demo-api|@demo-admin|@demo-site)

Start Storybook

pnpm run storybook

Storybook will be available at http://localhost:26638/

Start Docs

pnpm run docs

The docs will be available at http://localhost:3000/

Stop processes

npx dev-pm shutdown

Dev scripts

We provide dev:* scripts for the most common use cases. For example, to start the Demo, you can also run:

pnpm run dev:demo

However, we recommend directly using dev-process-manager for greater control over which development processes to start.

See package.json for a list of all available dev scripts.

Develop in a project

additional Requirements

./wml-add.sh ../example
wml start

Contributing

Please read our Contributing file.

comet's People

Contributors

thomasdax98 avatar johnnyomair avatar nsams avatar jamesricky avatar kaufmo avatar fraxachun avatar dkarnutsch avatar mfsepplive avatar rabengraph avatar magdalenaxm avatar jomunker avatar chernylu avatar manuelblum avatar github-actions[bot] avatar raphaelblum avatar vp-ds avatar max-debug022 avatar nataliavizintini avatar lllhuber avatar mennoxx avatar tobi98 avatar ben-ho avatar dependabot[bot] avatar jennyvivid avatar beelee avatar f10ragger avatar flips2001 avatar schreglmann avatar fichtnerma avatar rainbowbunchie 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.