Spaces:
Sleeping
Sleeping
Tanguy VANSNICK
commited on
Commit
·
de5723b
1
Parent(s):
72dd57e
readme
Browse files
README.md
CHANGED
|
@@ -12,26 +12,33 @@ pinned: false
|
|
| 12 |
# Klìnic
|
| 13 |
|
| 14 |
## Architecture
|
|
|
|
| 15 |

|
| 16 |
|
| 17 |
## Prerequisites
|
|
|
|
| 18 |
- [git lfs](https://git-lfs.com/)
|
| 19 |
- `pip install -r requirements.txt`
|
| 20 |
|
| 21 |
## Setup
|
| 22 |
|
| 23 |
1. Get pre-processed data (large files are stored using Git LFS - you need to have it installed)
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
2. Start the IRIS Docker container:
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
3. Open a Jupyter notebook we've created to populate the database and run all the cells: [database.ipynb](./database.ipynb)
|
| 33 |
-
4.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
## Debugging
|
|
|
|
| 36 |
- Navigate to http://localhost:52773/csp/sys/UtilHome.csp to access IRIS and login with username: `demo`, password: `demo`
|
| 37 |
-
|
|
|
|
| 12 |
# Klìnic
|
| 13 |
|
| 14 |
## Architecture
|
| 15 |
+
|
| 16 |

|
| 17 |
|
| 18 |
## Prerequisites
|
| 19 |
+
|
| 20 |
- [git lfs](https://git-lfs.com/)
|
| 21 |
- `pip install -r requirements.txt`
|
| 22 |
|
| 23 |
## Setup
|
| 24 |
|
| 25 |
1. Get pre-processed data (large files are stored using Git LFS - you need to have it installed)
|
| 26 |
+
```Shell
|
| 27 |
+
git lfs fetch --all
|
| 28 |
+
git lfs checkout
|
| 29 |
+
```
|
| 30 |
2. Start the IRIS Docker container:
|
| 31 |
+
```Shell
|
| 32 |
+
docker-compose up -d
|
| 33 |
+
```
|
| 34 |
3. Open a Jupyter notebook we've created to populate the database and run all the cells: [database.ipynb](./database.ipynb)
|
| 35 |
+
4. create a .env file and add the following variable:
|
| 36 |
+
```
|
| 37 |
+
OPENAI_API_KEY=<your-openai-api-key>
|
| 38 |
+
```
|
| 39 |
+
5. Run the app: `streamlit run app.py`
|
| 40 |
|
| 41 |
## Debugging
|
| 42 |
+
|
| 43 |
- Navigate to http://localhost:52773/csp/sys/UtilHome.csp to access IRIS and login with username: `demo`, password: `demo`
|
| 44 |
+
- You can execute SQL queries at 'System Explorer' → 'SQL'
|