58dd0e01bd1453f3e5185fb3cd94f467ec6f2e7d
wiki/howto/windestimation.md
| ... | ... | @@ -41,7 +41,7 @@ If successful (and you may want to remove the ``--rm`` option otherwise to allow |
| 41 | 41 | Under ``docker/Dockerfile_windestimation`` there is a docker file that can be used to produce the Docker image, given that a ``WindEstimationModelsTraining.jar`` exists under [https://static.sapsailing.com/WindEstimationModelsTraining.jar](https://static.sapsailing.com/WindEstimationModelsTraining.jar). Producing an image works like this: |
| 42 | 42 | |
| 43 | 43 | ``` |
| 44 | - docker build --no-cache -f Dockerfile_windestimation -t docker.sapsailing.com:443/windestimationtraining:0.0.4,docker.sapsailing.com:443/windestimationtraining:latest |
|
| 44 | + docker build --no-cache -f Dockerfile_windestimation -t docker.sapsailing.com:443/windestimationtraining:0.0.4 . |
|
| 45 | 45 | ``` |
| 46 | 46 | |
| 47 | 47 | To produce the JAR file used for the Docker image creation, run an "Export" command in Eclipse, using "File - Export - Runnable JAR File" with the ``SimpleModelsTrainingPart1`` launch configuration. This will export a JAR that you can then upload to ``trac@sapsailing.com:static`` using a command such as |
| ... | ... | @@ -85,4 +85,4 @@ If you run this in a "headless" server environment, make sure the Java VM can sh |
| 85 | 85 | curl -X POST -H "Content-Type: application/octet-stream" --data-binary @windEstimationModels.dat \ |
| 86 | 86 | https://username:password@host.sapsailing.com/windestimation/api/windestimation_data |
| 87 | 87 | </pre> |
| 88 | -You should see a response code of 200, and a success message such as "Wind estimation models accepted". |
|
| ... | ... | \ No newline at end of file |
| 0 | +You should see a response code of 200, and a success message such as "Wind estimation models accepted". |