-
Clone the repo
git clone [email protected]:effectai/force-frontend.git
-
Install dependencies
bun install
- Run in dev mode
bun dev
It's also possible to run the frontend using Docker.
- Make sure you have Docker and Docker Compose installed on your system.
git clone [email protected]:effectai/force-frontend.git
docker compose up --build
--build
: Forces the image to be rebuilt. This command will:- Build the Docker image as defined in the Dockerfile.
- Create and start the containers as defined in the
docker-compose.yml
file.
- Clone the GitHub repository: https://github.com/effectai/effect-js/
- Install & build SDK:
bun install && bun sdk:build
- Run inside the SDK (
src
) folder:
cd src
bun run link
- Navigate back to frontend folder:
bun link @effectai/sdk
Running the SDK with bun dev
will automatically build & reload whenever a change occurs.
Note: if you've ran the frontend before without linking, it's important to clear the cache inside of the node_modules/
& .nuxt/
folders.