future-xy
commited on
Commit
•
7c45643
1
Parent(s):
5176e8a
add dev notes
Browse files
README.md
CHANGED
@@ -14,3 +14,21 @@ tags:
|
|
14 |
---
|
15 |
|
16 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
17 |
+
|
18 |
+
## Local development
|
19 |
+
|
20 |
+
Create a virtual environment and install the dependencies:
|
21 |
+
|
22 |
+
```bash
|
23 |
+
conda create -n <env_name> python=3.10
|
24 |
+
conda activate <env_name>
|
25 |
+
pip install -r requirements.txt
|
26 |
+
```
|
27 |
+
|
28 |
+
**Follow the instructions in Dockerfile to install other necessary dependencies.**
|
29 |
+
|
30 |
+
Start the backend server in debug mode:
|
31 |
+
|
32 |
+
```bash
|
33 |
+
python backend-cli.py --debug
|
34 |
+
```
|