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
+66Lines changed: 66 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,72 @@ For new features, bugs, enhancements
179
179
180
180
*Note*: Make sure you have the latest version of the `develop` branch on your local machine.
181
181
182
+
## Installation Guide - Docker
183
+
184
+
1. Install docker from https://www.docker.com/ . <br>
185
+
2. Identify docker image of interest from [Schematic DockerHub](https://hub.docker.com/r/sagebionetworks/schematic/tags) <br>
186
+
Ex `docker pull sagebionetworks/schematic:latest` from the CLI or, run `docker compose up` after cloning the schematic github repo <br>
187
+
in this case, `sagebionetworks/schematic:latest` is the name of the image chosen
188
+
3. Run Schematic Command with `docker run <flags> <schematic command and args>`. <br>
189
+
<t> - For more information on flags for `docker run` and what they do, visit the [Docker Documentation](https://docs.docker.com/engine/reference/commandline/run/) <br>
190
+
<t> - These example commands assume that you have navigated to the directory you want to run schematic from. To specify your working directory, use `$(pwd)` on MacOS/Linux or `%cd%` on Windows. <br>
191
+
<t> - If not using the latest image, then the full name should be specified: ie `sagebionetworks/schematic:commit-e611e4a` <br>
192
+
<t> - If using local image created by `docker compose up`, then the docker image name should be changed: i.e. `schematic_schematic` <br>
193
+
<t> - Using the `--name` flag sets the name of the container running locally on your machine <br>
194
+
195
+
### Example For REST API <br>
196
+
197
+
#### Use file path of `config.yml` to run API endpoints:
0 commit comments