Junglebrain commited on
Commit
0afbde3
·
1 Parent(s): 9867e08

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -1
README.md CHANGED
@@ -65,9 +65,19 @@ The app uses `auth="huggingface"` which automatically handles OAuth. Users must
65
 
66
  ## Local Development
67
 
68
- To run locally:
69
 
70
  ```bash
 
 
 
 
 
 
 
 
 
 
71
  # Install uv package manager
72
  curl -LsSf https://astral.sh/uv/install.sh | sh
73
  # Mac OS (might differ on other OSs)
@@ -78,6 +88,16 @@ uv venv ahaic --python 3.11
78
  source ahaic/bin/activate
79
  # Install dependencies
80
  uv pip install -r requirements.txt
 
 
 
 
 
 
 
 
 
 
81
  # Set environment variables
82
  export OPENAI_API_KEY=your_key_here
83
  # Run the app
 
65
 
66
  ## Local Development
67
 
68
+ Prepare local dev environment:
69
 
70
  ```bash
71
+ # Clone git repo
72
+ git clone git@github.com:junglebrain/2025AHAIC.git
73
+ # enter dir
74
+ cd 2025AHAIC
75
+ # add Hugging Face Space as remote (replace key)
76
+ git remote add space https://:{HF_KEY}@huggingface.co/spaces/hfu-ahaic/agent-lab
77
+ # add special "all" remote to allow pushing to both remotes simultanously
78
+ git remote add all git@github.com:junglebrain/2025AHAIC.git
79
+ git remote set-url --add --push all https://:{HF_KEY}@huggingface.co/spaces/hfu-ahaic/agent-lab
80
+ git remote set-url --add --push all git@github.com:junglebrain/2025AHAIC.git
81
  # Install uv package manager
82
  curl -LsSf https://astral.sh/uv/install.sh | sh
83
  # Mac OS (might differ on other OSs)
 
88
  source ahaic/bin/activate
89
  # Install dependencies
90
  uv pip install -r requirements.txt
91
+ ```
92
+
93
+ Now you can make edits, commit, then push changes jointly to GitHub + Hugging Face Space:
94
+ ```bash
95
+ git push all
96
+ ```
97
+
98
+ Run locally:
99
+
100
+ ```bash
101
  # Set environment variables
102
  export OPENAI_API_KEY=your_key_here
103
  # Run the app