Skip to content

Commit e602652

Browse files
committed
Add environment setup docs and Windows path support
Added documentation for required environment variables (.env file) needed for the development setup. Also fixed Tailwind config to include Windows-style path for flowbite-react class-list.json for cross-platform compatibility.
1 parent 6afae30 commit e602652

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,18 @@ The XRP software platform is an integrated development environment where you can
5656
npm install
5757
```
5858

59-
3. **Start the development server**
59+
3. **Create the environment file**
60+
61+
Create a `.env` file in the project root:
62+
```
63+
GOOGLE_CHATAPI_PROXY_TARGET=http://localhost:8000
64+
GOOGLE_AUTH_URL=
65+
```
66+
67+
- `GOOGLE_CHATAPI_PROXY_TARGET` — URL of the AI chat API backend (proxied under `/api`)
68+
- `GOOGLE_AUTH_URL` — Base URL of the Google Auth backend (used to fetch the OAuth client ID)
69+
70+
4. **Start the development server**
6071
```bash
6172
npm run dev
6273
```

tailwind.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export default {
88
'./index.html',
99
'./src/**/*.{js,ts,jsx,tsx}',
1010
'./node_modules/flowbite-react/**/*.{js,ts,jsx,tsx}',
11-
".flowbite-react/class-list.json"
11+
".flowbite-react/class-list.json",
12+
".flowbite-react\\class-list.json"
1213
],
1314
theme: {
1415
colors: {

0 commit comments

Comments
 (0)