YanAdjeNole commited on
Commit
7383247
·
verified ·
1 Parent(s): 3af6197

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -3,20 +3,20 @@ title: Asset Choice Simulation
3
  emoji: 📈
4
  colorFrom: gray
5
  colorTo: blue
6
- sdk: static
7
  pinned: false
8
  app_build_command: npm run build
9
- app_file: dist/index.html
10
  ---
11
 
12
- React + Vite static app. In your Space settings set:
13
- - SDK: static
14
- - Build command: npm run build
15
- - Output directory: dist
16
- - Start command: (leave blank)
17
 
18
  Run locally:
19
  ```
20
  npm install
21
- npm run dev
22
- ```
 
 
3
  emoji: 📈
4
  colorFrom: gray
5
  colorTo: blue
6
+ sdk: docker
7
  pinned: false
8
  app_build_command: npm run build
9
+ app_file: Dockerfile
10
  ---
11
 
12
+ This Space runs a FastAPI backend and serves a Vite/React frontend built into `/dist`.
13
+ - Backend: `server.py` exposes `/api/*`
14
+ - Frontend: built by Vite, mounted at `/`
15
+ - Data persistence: Hugging Face Hub Dataset repo via `HF_TOKEN` + `STORE_REPO`.
 
16
 
17
  Run locally:
18
  ```
19
  npm install
20
+ npm run build
21
+ uvicorn server:app --reload
22
+ ```