You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Dates formatted as YYYY-MM-DD as per [ISO standard](https://www.iso.org/iso-8601-date-and-time-format.html).
7
7
8
+
## v1.0.3 - 2025-12-02
9
+
10
+
Add docker image and hosted on GitHub Container Registry.
11
+
12
+
### Added
13
+
14
+
* Add `Dockerfile` which builds conda environment and runs the app.
15
+
* Add GitHub action which builds Docker image and pushes to GitHub Container Registry.
16
+
17
+
### Changed
18
+
19
+
* Explained how to use Docker (and venv) in README.
Copy file name to clipboardExpand all lines: README.md
+49-1Lines changed: 49 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,8 @@ For a full record of the generation of these models, please refer to: https://gi
39
39
40
40
## 🌐 Creating the environment
41
41
42
+
### conda
43
+
42
44
The project uses `conda` to manage dependencies. Navigate your terminal to the directory containing the code and run:
43
45
44
46
```
@@ -51,7 +53,53 @@ This will create a conda environment called `gen_simpy_apps`. To activate:
51
53
conda activate gen_simpy_apps
52
54
```
53
55
54
-
This environment is a simplified version of that from the [llm_simpy](https://github.com/pythonhealthdatascience/llm_simpy) repository, containing only the dependencies required for running the apps.
56
+
This environment is a simplified version of that from the [llm_simpy](https://github.com/pythonhealthdatascience/llm_simpy) repository, containing only the dependencies required for running the models and apps.
57
+
58
+
### venv
59
+
60
+
Another option is to use `venv`. You can build the environment by running:
61
+
62
+
```
63
+
python -m venv venv
64
+
```
65
+
66
+
Then install the packages using:
67
+
68
+
```
69
+
pip install -r requirements.txt
70
+
```
71
+
72
+
`venv` cannot control which python version is used, it will just use one on system. You can check what this is by running:
73
+
74
+
```
75
+
venv/bin/python --version
76
+
```
77
+
78
+
You can find the version of python used for the models and app in the `binder/environment.yaml` file.
79
+
80
+
### Docker
81
+
82
+
Alternatively, a docker environment has been provided.
0 commit comments