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: README.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,30 @@ The 'pip' command can be used to install the environment.
29
29
The 'pip freeze' command can be used to display the installed packages and their revision.
30
30
31
31
### Cloud
32
+
32
33
The required python packages for a Cloud Foundry environment are listed in the file **./requirements.txt**. The file lists the Python package, without the revision.
33
34
The packages will be installed automatically during invocation.
34
35
36
+
### Docker
37
+
38
+
Use one of these actions to pull or build the container:
@@ -50,6 +71,14 @@ The **foundry-app-name** determines the URL for the Redfish service.
50
71
51
72
The cloud foundry makes use of the following files: requirements.txt, runtime.txt, and Profile. So they should exists in the same directory as emulator.py.
52
73
74
+
### Docker
75
+
76
+
This command runs the container with the built-in mockup:
77
+
78
+
```bash
79
+
docker run --rm dmtf/redfish-interface-emulator:latest
80
+
```
81
+
53
82
## Configuring the Emulator
54
83
The behavior of the emulator can be control via command line flags or property values in emulator-config.json.
55
84
@@ -272,7 +301,10 @@ To use, point a brower to the URI **http://localhost:5000/browse.html**
272
301
273
302
## Release Process
274
303
275
-
1. Update `CHANGELOG.md` with the list of changes since the last release
276
-
2. Update the `__version__` variable in `api_emulator/version.py` to reflect the new tool version
277
-
3. Push changes to Github
278
-
4. Create a new release in Github
304
+
Run the `release.sh` script to publish a new version.
305
+
306
+
```bash
307
+
sh release.sh <NewVersion>
308
+
```
309
+
310
+
Enter the release notes when prompted; an empty line signifies no more notes to add.
0 commit comments