Install the project dependencies:
pnpm install
Start the development server:
pnpm dev
Run tests:
pnpm test
Run integration tests
pnpm integration
Run storybook:
pnpm storybook
Build the docker image:
docker build -t nectar .
To make a production build locally, you can run:
pnpm run build:local
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
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
This should open the results in a browser to see the generated bundles:
pnpm run analyze