Getting Started - Frontend
Prerequisites​
- Node.js version 22 or above (which can be checked by running
node -v). You can use nvm or nvm-windows for managing multiple Node versions on a single machine installed. When installing Node.js, you are recommended to check all checkboxes related to dependencies.
Setup​
The following steps will guide you through setting up the project on your local machine.
Setting up the data-viz-ui submodule​
- Clone the
data-viz-uirepository and add it as a submodule to the project.
git submodule add git@github.com:devgateway/data-viz-ui.git data-viz-ui
- This will add the
data-viz-uifolder to the project as a submodule.
- Cd into the
data-viz-uifolder.
cd data-viz-ui
- Update the
data-viz-uisubmodules
git submodule update --init --recursive
- Run the following command to install the dependencies:
- npm
- pnpm
- Yarn
- Bun
npm install
pnpm install
yarn install
bun install
Setting up the front project​
- Cd into the project directory that is found in the
frontfolder.
cd front
- Run the following command to install the dependencies:
- npm
- pnpm
- Yarn
- Bun
npm install
pnpm install
yarn install
bun install
- Run the following command to start the development server:
- npm
- pnpm
- Yarn
- Bun
npm run dev
pnpm run dev
yarn dev
bun run dev