Install the project dependencies:
pnpm installStart the development server:
pnpm devRun tests:
pnpm testRun integration tests
pnpm integrationRun storybook:
pnpm storybookBuild the docker image:
docker build -t nectar .To make a production build locally, you can run:
pnpm run build:localStart the production server inside a container:
docker run -it --rm --name nectar -p 8000:8000 -p 6006:6006 nectarStart the local production server
pnpm run start:localCreate 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 bashThis should open the results in a browser to see the generated bundles:
pnpm run analyze