AOSSIE-Org / AOSSIE-Org/DebateAI

BUG: Unable to start frontend for development

未关闭
#131 3 条评论 0 个 reaction 已指派 1 人 已被 @Suraj0950 认领 在 GitHub 查看
主要语言
TypeScript
星标
84
派生
198
平均合并
2 天 19 小时
30 天内合并 PR
30

描述

FRONTEND Setup issue:

When i have try to setup the frontend for development i found that the below issue 💯

Image

### Frontend Configuration To show this Issue

1. In the `frontend/` directory, create a file named `.env`.

2. Add the following environment variables to the `.env` file:

```
VITE_BASE_URL="http://localhost:1313"
VITE_GOOGLE_CLIENT_ID=""
```

- Replace `` with your actual Google OAuth Client ID from Google Cloud Console.

### Running the Frontend (React + Vite)
1. Open a new terminal and navigate to the frontend directory:

```
cd frontend
```

2. Install dependencies:

```
npm install
```

3. Create a `.env` file and add:

```
VITE_BASE_URL="http://localhost:1313"
```
4. Start the development server:
```
npm run dev
```

### EXPECTATION
frontend should be render properly to the browser.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。