Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.36 KB

front-end-dev.md

File metadata and controls

62 lines (45 loc) · 1.36 KB

Getting Started

This will guide you through getting the front end of MC-bench up and running

Prerequisites

Quick Start

it is recommended to complete backend setup first

0. Clone front end repository

git clone https://github.com/mc-bench/mc-bench-frontend.git

1. Setup secrets

Copy the .env template

cp .env.template .env

Populate the .env with the values

2. Setup Github auth app

Instructions here

Once you have completed that setup, update the values in the .env

export VITE_GITHUB_CLIENT_ID="your_client_id"

Make sure to copy over the Github Client ID from the pre-requisites into your new .env file

3. Build frontend

Install the dependecies with bun

bun install

4. Backend Services running

In a new shell nagivate to your mc-bench-backend folder

docker-compose up -d --build

5. Start the frontend development server:

source .env
bun run dev

The application will be available at:

Common issues

Debugging guide