- Install the dependencies. Run:
pnpm install
- Set up environment variables. See list of pre-configured environment
variables bellow.
Note:.env.local
overwrite.env
(more) - Start the development server (see additional info about this feature). Run:
pnpm dev
- Open
http://localhost:3000
in your browser.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
- Install the dependencies. Run:
pnpm install
- Make the production build. Run:
pnpm build
- Start server (see additional info about this feature). Run:
pnpm start
NEXT_PUBLIC_API_BASE_URL
— useful for configuring base URL for any API calls.NEXT_PUBLIC_ASSETS_VERSION
— version of public assets. Can be used to reset browser cache of any assets.NEXT_PUBLIC_SENTRY_DSN
— used to log errors to Sentry.
Sentry
- Add
NEXT_PUBLIC_SENTRY_DSN
to.env
file sentry-cli login
— to login through browser or enter auth token- Fill
defaults.project
field insentry.properties
file
- To start storybook locally
pnpm storybook:dev
- To build storybook
pnpm storybook:build