Spaces:
Sleeping
Sleeping
Lucas ARRIESSE
commited on
Commit
·
d952e74
1
Parent(s):
f461b05
Add doc for local dev mode
Browse files- README.md +9 -0
- doc/doc.md +8 -0
README.md
CHANGED
|
@@ -18,3 +18,12 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
| 18 |
**Client side libraries**
|
| 19 |
- `markedjs` : For rendering markdown content.
|
| 20 |
- `zod` : For clientside schema validation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
**Client side libraries**
|
| 19 |
- `markedjs` : For rendering markdown content.
|
| 20 |
- `zod` : For clientside schema validation.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## Dev mode
|
| 24 |
+
|
| 25 |
+
Export the following env variables to enable debug logs and disable SSL for local dev
|
| 26 |
+
```bash
|
| 27 |
+
export NO_SSL=1
|
| 28 |
+
export DEBUG_LOG=1
|
| 29 |
+
```
|
doc/doc.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
| 1 |
|
| 2 |
## Reqxtract
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
### API router list
|
| 5 |
|
| 6 |
- `api/docs.py` : Handles documents processing and extraction of requirements
|
|
|
|
| 1 |
|
| 2 |
## Reqxtract
|
| 3 |
|
| 4 |
+
### Dev mode
|
| 5 |
+
|
| 6 |
+
Export the following env variables to enable debug logs and disable SSL for local dev
|
| 7 |
+
```bash
|
| 8 |
+
export NO_SSL=1
|
| 9 |
+
export DEBUG_LOG=1
|
| 10 |
+
```
|
| 11 |
+
|
| 12 |
### API router list
|
| 13 |
|
| 14 |
- `api/docs.py` : Handles documents processing and extraction of requirements
|