Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 1.04 KB

README.md

File metadata and controls

81 lines (52 loc) · 1.04 KB

Nectar

Getting started

Dependencies

Install the project dependencies:

pnpm install

Development

Start the development server:

pnpm dev

Run tests:

pnpm test

Run integration tests

pnpm integration

Run storybook:

pnpm storybook

Production build

Build the docker image:

docker build -t nectar .

To make a production build locally, you can run:

pnpm run build:local

Production

Start the production server inside a container:

docker run -it --rm --name nectar -p 8000:8000 -p 6006:6006 nectar

Start the local production server

pnpm run start:local

Development

Create a container mounting the current directory in the /app/ and start a bash shell to run any desired commands:

docker run -it --rm --name nectar -p 8000:8000 -p 6006:6006 -v $PWD:/app/ nectar bash

Bundle Analysis

This should open the results in a browser to see the generated bundles:

pnpm run analyze