From fecdbbfe21919b79583f8a12a49da563b6027c59 Mon Sep 17 00:00:00 2001 From: luto65 Date: Wed, 26 Jun 2019 12:54:48 +0200 Subject: [PATCH] Update enginevariants.html.md added description of the commandline and examples --- docs/manual/source/deploy/enginevariants.html.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/manual/source/deploy/enginevariants.html.md b/docs/manual/source/deploy/enginevariants.html.md index 2778487420..b31995ac0d 100644 --- a/docs/manual/source/deploy/enginevariants.html.md +++ b/docs/manual/source/deploy/enginevariants.html.md @@ -18,5 +18,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> +In order to deploy multiple variants, then one must specify both the json file containing different variant, +the port that will be serving that, and the instance-id of the engine . The latter information is delivered at the end of the training, and is also stored in the `````id````` column of the `````pio_meta_engineinstances````` table. + +````` +pio-docker deploy --engine-instance-id cc8d8de1-16c3-438d-a225-aa0a0ceea29f --variant=engine_01.json --port 8001 +pio-docker deploy --engine-instance-id db8048d4-f8a7-4cb8-a64c-f0cab042d511 --variant=engine_02.json --port 8002 +pio-docker deploy --engine-instance-id 939e6029-6744-4e66-a0a7-470fb7d8772e --variant=engine_03.json --port 8003 +pio-docker deploy --engine-instance-id cc8d8de1-16c3-438d-a225-aa0a0ceea29f --variant=engine_04.json --port 8004 +````` -(coming soon)