First of course is to install all packages:
yarn install
yarn db
To start development or build, you need an OpenAI API KEY
- Duplicate the file
/apps/web/.env.template
and rename it to.env
. - Replace the API value from
sk-
to your actual API KEY.
Mocking is turned on by default for dev environment and off for production builds. Global flag is set in files /apps/web/.env and /apps/web/.env.development respectively. Mocking is also set on a per api level in /packages/core/api-mocks/src/handlers.ts
To start server:
yarn dev:web
Available at http://localhost:3000
yarn dev:storybook
Available at http://localhost:6006
yarn build:web
Generated app can be found at: /apps/web/.next
yarn build:storybook
Generated app can be found at: /packages/ui/web/storybook-static