NeonClary Cursor commited on
Commit
622120d
·
1 Parent(s): ebbd1a5

Add Hugging Face Space frontmatter and deploy docs for master branch

Browse files

README frontmatter for BrainForge Docker Space (port 7860); gitignore frontend/.env.development; document pushing master to HF after merge from dev-cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>

Files changed (2) hide show
  1. .gitignore +1 -0
  2. README.md +24 -0
.gitignore CHANGED
@@ -4,6 +4,7 @@ __pycache__/
4
  node_modules/
5
  frontend/build/
6
  backend/static/
 
7
  .DS_Store
8
  *.egg-info/
9
  dist/
 
4
  node_modules/
5
  frontend/build/
6
  backend/static/
7
+ frontend/.env.development
8
  .DS_Store
9
  *.egg-info/
10
  dist/
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # Decidron Network Simulator
2
 
3
  A deterministic, browser-based simulator for **Decidron networks** — the
@@ -238,6 +248,20 @@ frontend/
238
  Dockerfile, docker-compose.yml
239
  ```
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  ## Troubleshooting
242
 
243
  - **Port 7860 in use** — set `CCAI_HOST_PORT` in `.env`, or run uvicorn
 
1
+ ---
2
+ title: Decidron Network Simulator
3
+ emoji: 🔗
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---
10
+
11
  # Decidron Network Simulator
12
 
13
  A deterministic, browser-based simulator for **Decidron networks** — the
 
248
  Dockerfile, docker-compose.yml
249
  ```
250
 
251
+ ## Hugging Face Space (BrainForge)
252
+
253
+ Hosted as a Docker Space on [BrainForge/decidron-simulator](https://huggingface.co/spaces/BrainForge/decidron-simulator) (`app_port: 7860`, `cpu-basic`). No API keys or secrets are required.
254
+
255
+ Deploy from the **`master`** branch (merge `dev-cursor` into `master` on GitHub first):
256
+
257
+ ```bash
258
+ git remote add hf https://huggingface.co/spaces/BrainForge/decidron-simulator
259
+ git checkout master && git pull origin master
260
+ git push hf master:main
261
+ ```
262
+
263
+ The Space builds from the root `Dockerfile` (React frontend → `backend/static`, FastAPI on port 7860).
264
+
265
  ## Troubleshooting
266
 
267
  - **Port 7860 in use** — set `CCAI_HOST_PORT` in `.env`, or run uvicorn