Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.31 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.31 KB

Installation

  • Please first make sure that you have installed Node.js and npm on your machine. (We recommend using the LTS version of Node.js)
  • If you are a macOS or linux user, you can use this command to install node.js and npm:
nvm use
  • Then, you can install the dependencies:
npm install
# or
yarn install
# or
pnpm install
  • Since this project uses pnpm, you can use pnpm to install the dependencies. (We recommend using pnpm)
  • If you didn't want to use pnpm, you can remove the pnpm-lock.yaml file and use npm or yarn instead.

Prerequisites

You can find more information about how to create a developer account in BIMobject Embed API Demo App.

Then use the Client ID and Client Secret to create a .env.local file in the root directory of this project. The .env.local file should look like this:

VITE_CLIENT_ID=YOUR_CLIENT_ID
VITE_CLIENT_SECRET=YOUR_CLIENT_SECRET

Getting Started

Use the following command to start the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:5173 with your browser to see the result.